From c61fc31493b8deffd075e12853c3add83743fe05 Mon Sep 17 00:00:00 2001
From: Sarah McAlear and Tira Odhner <pair+smcalear+aodhner@pivotal.io>
Date: Thu, 23 Feb 2017 15:20:17 -0500
Subject: [PATCH 1/3] Move the external js dependencies into /vendor
 directories

---
 web/pgadmin/browser/__init__.py                    | 28 +++++-----
 .../aciTree/jquery.aciFragment.min.js              |  0
 .../{js => vendor}/aciTree/jquery.aciPlugin.min.js |  0
 .../aciTree/jquery.aciSortable.min.js              |  0
 .../aciTree/jquery.aciTree.checkbox.js             |  0
 .../aciTree/jquery.aciTree.column.js               |  0
 .../{js => vendor}/aciTree/jquery.aciTree.core.js  |  0
 .../{js => vendor}/aciTree/jquery.aciTree.debug.js |  0
 .../{js => vendor}/aciTree/jquery.aciTree.dom.js   |  0
 .../aciTree/jquery.aciTree.editable.js             |  0
 .../{js => vendor}/aciTree/jquery.aciTree.hash.js  |  0
 .../{js => vendor}/aciTree/jquery.aciTree.js       |  0
 .../{js => vendor}/aciTree/jquery.aciTree.min.js   |  0
 .../aciTree/jquery.aciTree.persist.js              |  0
 .../{js => vendor}/aciTree/jquery.aciTree.radio.js |  0
 .../aciTree/jquery.aciTree.selectable.js           |  0
 .../aciTree/jquery.aciTree.sortable.js             |  0
 .../{js => vendor}/aciTree/jquery.aciTree.utils.js |  0
 ...in.defaults.js => alertify.pgadmin.defaults.js} |  0
 .../static/js/{backgrid => }/backgrid.pgadmin.js   |  0
 .../static/{js => vendor}/alertifyjs/alertify.js   |  0
 .../{js => vendor}/alertifyjs/alertify.min.js      |  0
 web/pgadmin/static/{js => vendor}/backbone-min.js  |  0
 web/pgadmin/static/{js => vendor}/backbone.js      |  0
 .../static/{js => vendor}/backbone.paginator.js    |  0
 .../{js => vendor}/backbone.paginator.min.js       |  0
 web/pgadmin/static/{js => vendor}/backbone.undo.js |  0
 .../static/{js => vendor}/backbone.undo.min.js     |  0
 web/pgadmin/static/{js => vendor}/backform.js      |  0
 .../{js => vendor}/backgrid/backgrid-filter.js     |  0
 .../{js => vendor}/backgrid/backgrid-filter.min.js |  0
 .../{js => vendor}/backgrid/backgrid-paginator.js  |  0
 .../backgrid/backgrid-paginator.min.js             |  0
 .../{js => vendor}/backgrid/backgrid-select-all.js |  0
 .../backgrid/backgrid-select-all.min.js            |  0
 .../backgrid/backgrid-sizeable-columns.js          |  0
 .../static/{js => vendor}/backgrid/backgrid.js     |  0
 .../static/{js => vendor}/backgrid/backgrid.min.js |  0
 .../static/{js => vendor}/bignumber/bignumber.js   |  0
 .../{js => vendor}/bignumber/bignumber.min.js      |  0
 .../static/{js => vendor}/bootstrap-datepicker.js  |  0
 .../{js => vendor}/bootstrap-datepicker.min.js     |  0
 .../{js => vendor}/bootstrap-datetimepicker.js     |  0
 .../{js => vendor}/bootstrap-datetimepicker.min.js |  0
 .../static/{js => vendor}/bootstrap-switch.js      |  0
 .../static/{js => vendor}/bootstrap-switch.min.js  |  0
 web/pgadmin/static/{js => vendor}/bootstrap.js     |  0
 web/pgadmin/static/{js => vendor}/bootstrap.min.js |  0
 .../codemirror/addon/comment/comment.js            |  0
 .../codemirror/addon/comment/continuecomment.js    |  0
 .../codemirror/addon/dialog/dialog.css             |  0
 .../codemirror/addon/dialog/dialog.js              |  0
 .../codemirror/addon/display/autorefresh.js        |  0
 .../codemirror/addon/display/fullscreen.css        |  0
 .../codemirror/addon/display/fullscreen.js         |  0
 .../codemirror/addon/display/panel.js              |  0
 .../codemirror/addon/display/placeholder.js        |  0
 .../codemirror/addon/display/rulers.js             |  0
 .../codemirror/addon/edit/closebrackets.js         |  0
 .../codemirror/addon/edit/closetag.js              |  0
 .../codemirror/addon/edit/continuelist.js          |  0
 .../codemirror/addon/edit/matchbrackets.js         |  0
 .../codemirror/addon/edit/matchtags.js             |  0
 .../codemirror/addon/edit/trailingspace.js         |  0
 .../codemirror/addon/fold/brace-fold.js            |  0
 .../codemirror/addon/fold/comment-fold.js          |  0
 .../codemirror/addon/fold/foldcode.js              |  0
 .../codemirror/addon/fold/foldgutter.css           |  0
 .../codemirror/addon/fold/foldgutter.js            |  0
 .../codemirror/addon/fold/indent-fold.js           |  0
 .../codemirror/addon/fold/markdown-fold.js         |  0
 .../codemirror/addon/fold/pgadmin-sqlfoldcode.js   |  0
 .../codemirror/addon/fold/xml-fold.js              |  0
 .../codemirror/addon/hint/anyword-hint.js          |  0
 .../codemirror/addon/hint/css-hint.js              |  0
 .../codemirror/addon/hint/html-hint.js             |  0
 .../codemirror/addon/hint/javascript-hint.js       |  0
 .../codemirror/addon/hint/show-hint.css            |  0
 .../codemirror/addon/hint/show-hint.js             |  0
 .../codemirror/addon/hint/sql-hint.js              |  0
 .../codemirror/addon/hint/xml-hint.js              |  0
 .../codemirror/addon/lint/coffeescript-lint.js     |  0
 .../codemirror/addon/lint/css-lint.js              |  0
 .../codemirror/addon/lint/html-lint.js             |  0
 .../codemirror/addon/lint/javascript-lint.js       |  0
 .../codemirror/addon/lint/json-lint.js             |  0
 .../{js => vendor}/codemirror/addon/lint/lint.css  |  0
 .../{js => vendor}/codemirror/addon/lint/lint.js   |  0
 .../codemirror/addon/lint/yaml-lint.js             |  0
 .../codemirror/addon/merge/merge.css               |  0
 .../{js => vendor}/codemirror/addon/merge/merge.js |  0
 .../codemirror/addon/mode/loadmode.js              |  0
 .../codemirror/addon/mode/multiplex.js             |  0
 .../codemirror/addon/mode/multiplex_test.js        |  0
 .../codemirror/addon/mode/overlay.js               |  0
 .../{js => vendor}/codemirror/addon/mode/simple.js |  0
 .../codemirror/addon/runmode/colorize.js           |  0
 .../codemirror/addon/runmode/runmode-standalone.js |  0
 .../codemirror/addon/runmode/runmode.js            |  0
 .../codemirror/addon/runmode/runmode.node.js       |  0
 .../codemirror/addon/scroll/annotatescrollbar.js   |  0
 .../codemirror/addon/scroll/scrollpastend.js       |  0
 .../codemirror/addon/scroll/simplescrollbars.css   |  0
 .../codemirror/addon/scroll/simplescrollbars.js    |  0
 .../codemirror/addon/search/jump-to-line.js        |  0
 .../codemirror/addon/search/match-highlighter.js   |  0
 .../codemirror/addon/search/matchesonscrollbar.css |  0
 .../codemirror/addon/search/matchesonscrollbar.js  |  0
 .../codemirror/addon/search/search.js              |  0
 .../codemirror/addon/search/searchcursor.js        |  0
 .../codemirror/addon/selection/active-line.js      |  0
 .../codemirror/addon/selection/mark-selection.js   |  0
 .../addon/selection/selection-pointer.js           |  0
 .../{js => vendor}/codemirror/addon/tern/tern.css  |  0
 .../{js => vendor}/codemirror/addon/tern/tern.js   |  0
 .../{js => vendor}/codemirror/addon/tern/worker.js |  0
 .../codemirror/addon/wrap/hardwrap.js              |  0
 .../{js => vendor}/codemirror/lib/codemirror.js    |  0
 .../{js => vendor}/codemirror/mode/sql/sql.js      |  0
 .../static/{js => vendor}/flotr2/bean-min.js       |  0
 web/pgadmin/static/{js => vendor}/flotr2/bean.js   |  0
 .../static/{js => vendor}/flotr2/flotr2.amd.js     |  0
 .../jQuery-contextMenu/jquery.contextMenu.js       |  0
 .../jQuery-contextMenu/jquery.contextMenu.min.js   |  0
 .../jQuery-contextMenu/jquery.ui.position.js       |  0
 .../jQuery-contextMenu/jquery.ui.position.min.js   |  0
 web/pgadmin/static/{js => vendor}/jquery-1.11.2.js |  0
 .../static/{js => vendor}/jquery-1.11.2.min.js     |  0
 .../{js => vendor}/jquery-ui/jquery-ui-1.11.3.js   |  0
 .../jquery-ui/jquery-ui-1.11.3.min.js              |  0
 .../jquery-ui/jquery.event.drag-2.2.js             |  0
 .../jquery-ui/jquery.event.drop-2.2.js             |  0
 .../{js => vendor}/jquery.dropzone/dropzone.js     |  0
 .../modernizr-2.6.2-respond-1.1.0.min.js           |  0
 .../static/{js => vendor}/moment-with-locales.js   |  0
 .../{js => vendor}/moment-with-locales.min.js      |  0
 web/pgadmin/static/{js => vendor}/require.js       |  0
 web/pgadmin/static/{js => vendor}/require.min.js   |  0
 .../static/{js => vendor}/select2/i18n/ar.js       |  0
 .../static/{js => vendor}/select2/i18n/az.js       |  0
 .../static/{js => vendor}/select2/i18n/bg.js       |  0
 .../static/{js => vendor}/select2/i18n/ca.js       |  0
 .../static/{js => vendor}/select2/i18n/cs.js       |  0
 .../static/{js => vendor}/select2/i18n/da.js       |  0
 .../static/{js => vendor}/select2/i18n/de.js       |  0
 .../static/{js => vendor}/select2/i18n/en.js       |  0
 .../static/{js => vendor}/select2/i18n/es.js       |  0
 .../static/{js => vendor}/select2/i18n/et.js       |  0
 .../static/{js => vendor}/select2/i18n/eu.js       |  0
 .../static/{js => vendor}/select2/i18n/fa.js       |  0
 .../static/{js => vendor}/select2/i18n/fi.js       |  0
 .../static/{js => vendor}/select2/i18n/fr.js       |  0
 .../static/{js => vendor}/select2/i18n/gl.js       |  0
 .../static/{js => vendor}/select2/i18n/he.js       |  0
 .../static/{js => vendor}/select2/i18n/hi.js       |  0
 .../static/{js => vendor}/select2/i18n/hr.js       |  0
 .../static/{js => vendor}/select2/i18n/hu.js       |  0
 .../static/{js => vendor}/select2/i18n/id.js       |  0
 .../static/{js => vendor}/select2/i18n/is.js       |  0
 .../static/{js => vendor}/select2/i18n/it.js       |  0
 .../static/{js => vendor}/select2/i18n/ja.js       |  0
 .../static/{js => vendor}/select2/i18n/ko.js       |  0
 .../static/{js => vendor}/select2/i18n/lt.js       |  0
 .../static/{js => vendor}/select2/i18n/lv.js       |  0
 .../static/{js => vendor}/select2/i18n/mk.js       |  0
 .../static/{js => vendor}/select2/i18n/ms.js       |  0
 .../static/{js => vendor}/select2/i18n/nb.js       |  0
 .../static/{js => vendor}/select2/i18n/nl.js       |  0
 .../static/{js => vendor}/select2/i18n/pl.js       |  0
 .../static/{js => vendor}/select2/i18n/pt-BR.js    |  0
 .../static/{js => vendor}/select2/i18n/pt.js       |  0
 .../static/{js => vendor}/select2/i18n/ro.js       |  0
 .../static/{js => vendor}/select2/i18n/ru.js       |  0
 .../static/{js => vendor}/select2/i18n/sk.js       |  0
 .../static/{js => vendor}/select2/i18n/sr-Cyrl.js  |  0
 .../static/{js => vendor}/select2/i18n/sr.js       |  0
 .../static/{js => vendor}/select2/i18n/sv.js       |  0
 .../static/{js => vendor}/select2/i18n/th.js       |  0
 .../static/{js => vendor}/select2/i18n/tr.js       |  0
 .../static/{js => vendor}/select2/i18n/uk.js       |  0
 .../static/{js => vendor}/select2/i18n/vi.js       |  0
 .../static/{js => vendor}/select2/i18n/zh-CN.js    |  0
 .../static/{js => vendor}/select2/i18n/zh-TW.js    |  0
 .../static/{js => vendor}/select2/select2.full.js  |  0
 .../{js => vendor}/select2/select2.full.min.js     |  0
 web/pgadmin/static/{js => vendor}/slickgrid/README |  0
 .../slickgrid/controls/slick.columnpicker.css      |  0
 .../slickgrid/controls/slick.columnpicker.js       |  0
 .../slickgrid/controls/slick.pager.css             |  0
 .../slickgrid/controls/slick.pager.js              |  0
 .../slickgrid/plugins/slick.autotooltips.js        |  0
 .../slickgrid/plugins/slick.cellcopymanager.js     |  0
 .../slickgrid/plugins/slick.cellrangedecorator.js  |  0
 .../slickgrid/plugins/slick.cellrangeselector.js   |  0
 .../slickgrid/plugins/slick.cellselectionmodel.js  |  0
 .../plugins/slick.checkboxselectcolumn.js          |  0
 .../slickgrid/plugins/slick.headerbuttons.css      |  0
 .../slickgrid/plugins/slick.headerbuttons.js       |  0
 .../slickgrid/plugins/slick.headermenu.css         |  0
 .../slickgrid/plugins/slick.headermenu.js          |  0
 .../slickgrid/plugins/slick.rowmovemanager.js      |  0
 .../slickgrid/plugins/slick.rowselectionmodel.js   |  0
 .../static/{js => vendor}/slickgrid/slick.core.js  |  0
 .../{js => vendor}/slickgrid/slick.dataview.js     |  0
 .../{js => vendor}/slickgrid/slick.editors.js      |  0
 .../{js => vendor}/slickgrid/slick.formatters.js   |  0
 .../static/{js => vendor}/slickgrid/slick.grid.js  |  0
 .../slickgrid/slick.pgadmin.editors.js             |  0
 .../slickgrid/slick.pgadmin.formatters.js          |  0
 .../static/{js => vendor}/underscore-min.js        |  0
 web/pgadmin/static/{js => vendor}/underscore.js    |  0
 .../static/{js => vendor}/underscore.string.js     |  0
 .../static/{js => vendor}/underscore.string.min.js |  0
 web/pgadmin/static/{js => vendor}/wcDocker/README  |  0
 .../static/{js => vendor}/wcDocker/wcDocker.js     |  0
 .../static/{js => vendor}/wcDocker/wcDocker.min.js |  0
 web/pgadmin/templates/base.html                    | 63 +++++++++++-----------
 217 files changed, 46 insertions(+), 45 deletions(-)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciFragment.min.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciPlugin.min.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciSortable.min.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciTree.checkbox.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciTree.column.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciTree.core.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciTree.debug.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciTree.dom.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciTree.editable.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciTree.hash.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciTree.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciTree.min.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciTree.persist.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciTree.radio.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciTree.selectable.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciTree.sortable.js (100%)
 rename web/pgadmin/browser/static/{js => vendor}/aciTree/jquery.aciTree.utils.js (100%)
 rename web/pgadmin/static/js/{alertifyjs/pgadmin.defaults.js => alertify.pgadmin.defaults.js} (100%)
 rename web/pgadmin/static/js/{backgrid => }/backgrid.pgadmin.js (100%)
 rename web/pgadmin/static/{js => vendor}/alertifyjs/alertify.js (100%)
 rename web/pgadmin/static/{js => vendor}/alertifyjs/alertify.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/backbone-min.js (100%)
 rename web/pgadmin/static/{js => vendor}/backbone.js (100%)
 rename web/pgadmin/static/{js => vendor}/backbone.paginator.js (100%)
 rename web/pgadmin/static/{js => vendor}/backbone.paginator.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/backbone.undo.js (100%)
 rename web/pgadmin/static/{js => vendor}/backbone.undo.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/backform.js (100%)
 rename web/pgadmin/static/{js => vendor}/backgrid/backgrid-filter.js (100%)
 rename web/pgadmin/static/{js => vendor}/backgrid/backgrid-filter.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/backgrid/backgrid-paginator.js (100%)
 rename web/pgadmin/static/{js => vendor}/backgrid/backgrid-paginator.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/backgrid/backgrid-select-all.js (100%)
 rename web/pgadmin/static/{js => vendor}/backgrid/backgrid-select-all.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/backgrid/backgrid-sizeable-columns.js (100%)
 rename web/pgadmin/static/{js => vendor}/backgrid/backgrid.js (100%)
 rename web/pgadmin/static/{js => vendor}/backgrid/backgrid.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/bignumber/bignumber.js (100%)
 rename web/pgadmin/static/{js => vendor}/bignumber/bignumber.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/bootstrap-datepicker.js (100%)
 rename web/pgadmin/static/{js => vendor}/bootstrap-datepicker.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/bootstrap-datetimepicker.js (100%)
 rename web/pgadmin/static/{js => vendor}/bootstrap-datetimepicker.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/bootstrap-switch.js (100%)
 rename web/pgadmin/static/{js => vendor}/bootstrap-switch.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/bootstrap.js (100%)
 rename web/pgadmin/static/{js => vendor}/bootstrap.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/comment/comment.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/comment/continuecomment.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/dialog/dialog.css (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/dialog/dialog.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/display/autorefresh.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/display/fullscreen.css (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/display/fullscreen.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/display/panel.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/display/placeholder.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/display/rulers.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/edit/closebrackets.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/edit/closetag.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/edit/continuelist.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/edit/matchbrackets.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/edit/matchtags.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/edit/trailingspace.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/fold/brace-fold.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/fold/comment-fold.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/fold/foldcode.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/fold/foldgutter.css (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/fold/foldgutter.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/fold/indent-fold.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/fold/markdown-fold.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/fold/pgadmin-sqlfoldcode.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/fold/xml-fold.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/hint/anyword-hint.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/hint/css-hint.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/hint/html-hint.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/hint/javascript-hint.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/hint/show-hint.css (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/hint/show-hint.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/hint/sql-hint.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/hint/xml-hint.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/lint/coffeescript-lint.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/lint/css-lint.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/lint/html-lint.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/lint/javascript-lint.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/lint/json-lint.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/lint/lint.css (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/lint/lint.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/lint/yaml-lint.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/merge/merge.css (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/merge/merge.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/mode/loadmode.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/mode/multiplex.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/mode/multiplex_test.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/mode/overlay.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/mode/simple.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/runmode/colorize.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/runmode/runmode-standalone.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/runmode/runmode.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/runmode/runmode.node.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/scroll/annotatescrollbar.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/scroll/scrollpastend.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/scroll/simplescrollbars.css (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/scroll/simplescrollbars.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/search/jump-to-line.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/search/match-highlighter.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/search/matchesonscrollbar.css (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/search/matchesonscrollbar.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/search/search.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/search/searchcursor.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/selection/active-line.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/selection/mark-selection.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/selection/selection-pointer.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/tern/tern.css (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/tern/tern.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/tern/worker.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/addon/wrap/hardwrap.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/lib/codemirror.js (100%)
 rename web/pgadmin/static/{js => vendor}/codemirror/mode/sql/sql.js (100%)
 rename web/pgadmin/static/{js => vendor}/flotr2/bean-min.js (100%)
 rename web/pgadmin/static/{js => vendor}/flotr2/bean.js (100%)
 rename web/pgadmin/static/{js => vendor}/flotr2/flotr2.amd.js (100%)
 rename web/pgadmin/static/{js => vendor}/jQuery-contextMenu/jquery.contextMenu.js (100%)
 rename web/pgadmin/static/{js => vendor}/jQuery-contextMenu/jquery.contextMenu.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/jQuery-contextMenu/jquery.ui.position.js (100%)
 rename web/pgadmin/static/{js => vendor}/jQuery-contextMenu/jquery.ui.position.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/jquery-1.11.2.js (100%)
 rename web/pgadmin/static/{js => vendor}/jquery-1.11.2.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/jquery-ui/jquery-ui-1.11.3.js (100%)
 rename web/pgadmin/static/{js => vendor}/jquery-ui/jquery-ui-1.11.3.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/jquery-ui/jquery.event.drag-2.2.js (100%)
 rename web/pgadmin/static/{js => vendor}/jquery-ui/jquery.event.drop-2.2.js (100%)
 rename web/pgadmin/static/{js => vendor}/jquery.dropzone/dropzone.js (100%)
 rename web/pgadmin/static/{js => vendor}/modernizr-2.6.2-respond-1.1.0.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/moment-with-locales.js (100%)
 rename web/pgadmin/static/{js => vendor}/moment-with-locales.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/require.js (100%)
 rename web/pgadmin/static/{js => vendor}/require.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/ar.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/az.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/bg.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/ca.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/cs.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/da.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/de.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/en.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/es.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/et.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/eu.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/fa.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/fi.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/fr.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/gl.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/he.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/hi.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/hr.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/hu.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/id.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/is.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/it.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/ja.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/ko.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/lt.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/lv.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/mk.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/ms.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/nb.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/nl.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/pl.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/pt-BR.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/pt.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/ro.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/ru.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/sk.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/sr-Cyrl.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/sr.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/sv.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/th.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/tr.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/uk.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/vi.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/zh-CN.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/i18n/zh-TW.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/select2.full.js (100%)
 rename web/pgadmin/static/{js => vendor}/select2/select2.full.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/README (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/controls/slick.columnpicker.css (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/controls/slick.columnpicker.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/controls/slick.pager.css (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/controls/slick.pager.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/plugins/slick.autotooltips.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/plugins/slick.cellcopymanager.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/plugins/slick.cellrangedecorator.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/plugins/slick.cellrangeselector.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/plugins/slick.cellselectionmodel.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/plugins/slick.checkboxselectcolumn.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/plugins/slick.headerbuttons.css (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/plugins/slick.headerbuttons.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/plugins/slick.headermenu.css (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/plugins/slick.headermenu.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/plugins/slick.rowmovemanager.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/plugins/slick.rowselectionmodel.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/slick.core.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/slick.dataview.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/slick.editors.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/slick.formatters.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/slick.grid.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/slick.pgadmin.editors.js (100%)
 rename web/pgadmin/static/{js => vendor}/slickgrid/slick.pgadmin.formatters.js (100%)
 rename web/pgadmin/static/{js => vendor}/underscore-min.js (100%)
 rename web/pgadmin/static/{js => vendor}/underscore.js (100%)
 rename web/pgadmin/static/{js => vendor}/underscore.string.js (100%)
 rename web/pgadmin/static/{js => vendor}/underscore.string.min.js (100%)
 rename web/pgadmin/static/{js => vendor}/wcDocker/README (100%)
 rename web/pgadmin/static/{js => vendor}/wcDocker/wcDocker.js (100%)
 rename web/pgadmin/static/{js => vendor}/wcDocker/wcDocker.min.js (100%)

diff --git a/web/pgadmin/browser/__init__.py b/web/pgadmin/browser/__init__.py
index 9c1e5456..e9b9747b 100644
--- a/web/pgadmin/browser/__init__.py
+++ b/web/pgadmin/browser/__init__.py
@@ -40,7 +40,7 @@ class BrowserModule(PgAdminModule):
         # Add browser stylesheets
         for (endpoint, filename) in [
             ('static', 'css/codemirror/codemirror.css'),
-            ('static', 'js/codemirror/addon/dialog/dialog.css'),
+            ('static', 'vendor/codemirror/addon/dialog/dialog.css'),
             ('static', 'css/jQuery-contextMenu/jquery.contextMenu.css' if current_app.debug
             else 'css/jQuery-contextMenu/jquery.contextMenu.min.css'),
             ('static', 'css/wcDocker/wcDocker.css' if current_app.debug
@@ -58,8 +58,8 @@ class BrowserModule(PgAdminModule):
             'name': 'alertify',
             'path': url_for(
                 'static',
-                filename='js/alertifyjs/alertify' if current_app.debug
-                else 'js/alertifyjs/alertify.min'
+                filename='vendor/alertifyjs/alertify' if current_app.debug
+                else 'vendor/alertifyjs/alertify.min'
             ),
             'exports': 'alertify',
             'preloaded': True
@@ -68,9 +68,9 @@ class BrowserModule(PgAdminModule):
             'name': 'jqueryui.position',
             'path': url_for(
                 'static',
-                filename='js/jQuery-contextMenu/jquery.ui.position' if \
+                filename='vendor/jQuery-contextMenu/jquery.ui.position' if \
                     current_app.debug else \
-                    'js/jQuery-contextMenu/jquery.ui.position.min'
+                    'vendor/jQuery-contextMenu/jquery.ui.position.min'
             ),
             'deps': ['jquery'],
             'exports': 'jQuery.ui.position',
@@ -80,9 +80,9 @@ class BrowserModule(PgAdminModule):
             'name': 'jquery.contextmenu',
             'path': url_for(
                 'static',
-                filename='js/jQuery-contextMenu/jquery.contextMenu' if \
+                filename='vendor/jQuery-contextMenu/jquery.contextMenu' if \
                     current_app.debug else \
-                    'js/jQuery-contextMenu/jquery.contextMenu.min'
+                    'vendor/jQuery-contextMenu/jquery.contextMenu.min'
             ),
             'deps': ['jquery', 'jqueryui.position'],
             'exports': 'jQuery.contextMenu',
@@ -92,7 +92,7 @@ class BrowserModule(PgAdminModule):
             'name': 'jquery.aciplugin',
             'path': url_for(
                 'browser.static',
-                filename='js/aciTree/jquery.aciPlugin.min'
+                filename='vendor/aciTree/jquery.aciPlugin.min'
             ),
             'deps': ['jquery'],
             'exports': 'aciPluginClass',
@@ -102,8 +102,8 @@ class BrowserModule(PgAdminModule):
             'name': 'jquery.acitree',
             'path': url_for(
                 'browser.static',
-                filename='js/aciTree/jquery.aciTree' if
-                current_app.debug else 'js/aciTree/jquery.aciTree.min'
+                filename='vendor/aciTree/jquery.aciTree' if
+                current_app.debug else 'vendor/aciTree/jquery.aciTree.min'
             ),
             'deps': ['jquery', 'jquery.aciplugin'],
             'exports': 'aciPluginClass.plugins.aciTree',
@@ -113,7 +113,7 @@ class BrowserModule(PgAdminModule):
             'name': 'jquery.acisortable',
             'path': url_for(
                 'browser.static',
-                filename='js/aciTree/jquery.aciSortable.min'
+                filename='vendor/aciTree/jquery.aciSortable.min'
             ),
             'deps': ['jquery', 'jquery.aciplugin'],
             'exports': 'aciPluginClass.plugins.aciSortable',
@@ -124,7 +124,7 @@ class BrowserModule(PgAdminModule):
             'name': 'jquery.acifragment',
             'path': url_for(
                 'browser.static',
-                filename='js/aciTree/jquery.aciFragment.min'
+                filename='vendor/aciTree/jquery.aciFragment.min'
             ),
             'deps': ['jquery', 'jquery.aciplugin'],
             'exports': 'aciPluginClass.plugins.aciFragment',
@@ -135,8 +135,8 @@ class BrowserModule(PgAdminModule):
             'name': 'wcdocker',
             'path': url_for(
                 'static',
-                filename='js/wcDocker/wcDocker' if current_app.debug
-                else 'js/wcDocker/wcDocker.min'
+                filename='vendor/wcDocker/wcDocker' if current_app.debug
+                else 'vendor/wcDocker/wcDocker.min'
             ),
             'deps': ['jquery.contextmenu'],
             'exports': '',
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciFragment.min.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciFragment.min.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciFragment.min.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciFragment.min.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciPlugin.min.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciPlugin.min.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciPlugin.min.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciPlugin.min.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciSortable.min.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciSortable.min.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciSortable.min.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciSortable.min.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciTree.checkbox.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.checkbox.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciTree.checkbox.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.checkbox.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciTree.column.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.column.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciTree.column.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.column.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciTree.core.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.core.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciTree.core.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.core.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciTree.debug.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.debug.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciTree.debug.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.debug.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciTree.dom.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.dom.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciTree.dom.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.dom.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciTree.editable.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.editable.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciTree.editable.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.editable.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciTree.hash.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.hash.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciTree.hash.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.hash.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciTree.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciTree.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciTree.min.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.min.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciTree.min.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.min.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciTree.persist.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.persist.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciTree.persist.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.persist.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciTree.radio.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.radio.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciTree.radio.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.radio.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciTree.selectable.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.selectable.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciTree.selectable.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.selectable.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciTree.sortable.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.sortable.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciTree.sortable.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.sortable.js
diff --git a/web/pgadmin/browser/static/js/aciTree/jquery.aciTree.utils.js b/web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.utils.js
similarity index 100%
rename from web/pgadmin/browser/static/js/aciTree/jquery.aciTree.utils.js
rename to web/pgadmin/browser/static/vendor/aciTree/jquery.aciTree.utils.js
diff --git a/web/pgadmin/static/js/alertifyjs/pgadmin.defaults.js b/web/pgadmin/static/js/alertify.pgadmin.defaults.js
similarity index 100%
rename from web/pgadmin/static/js/alertifyjs/pgadmin.defaults.js
rename to web/pgadmin/static/js/alertify.pgadmin.defaults.js
diff --git a/web/pgadmin/static/js/backgrid/backgrid.pgadmin.js b/web/pgadmin/static/js/backgrid.pgadmin.js
similarity index 100%
rename from web/pgadmin/static/js/backgrid/backgrid.pgadmin.js
rename to web/pgadmin/static/js/backgrid.pgadmin.js
diff --git a/web/pgadmin/static/js/alertifyjs/alertify.js b/web/pgadmin/static/vendor/alertifyjs/alertify.js
similarity index 100%
rename from web/pgadmin/static/js/alertifyjs/alertify.js
rename to web/pgadmin/static/vendor/alertifyjs/alertify.js
diff --git a/web/pgadmin/static/js/alertifyjs/alertify.min.js b/web/pgadmin/static/vendor/alertifyjs/alertify.min.js
similarity index 100%
rename from web/pgadmin/static/js/alertifyjs/alertify.min.js
rename to web/pgadmin/static/vendor/alertifyjs/alertify.min.js
diff --git a/web/pgadmin/static/js/backbone-min.js b/web/pgadmin/static/vendor/backbone-min.js
similarity index 100%
rename from web/pgadmin/static/js/backbone-min.js
rename to web/pgadmin/static/vendor/backbone-min.js
diff --git a/web/pgadmin/static/js/backbone.js b/web/pgadmin/static/vendor/backbone.js
similarity index 100%
rename from web/pgadmin/static/js/backbone.js
rename to web/pgadmin/static/vendor/backbone.js
diff --git a/web/pgadmin/static/js/backbone.paginator.js b/web/pgadmin/static/vendor/backbone.paginator.js
similarity index 100%
rename from web/pgadmin/static/js/backbone.paginator.js
rename to web/pgadmin/static/vendor/backbone.paginator.js
diff --git a/web/pgadmin/static/js/backbone.paginator.min.js b/web/pgadmin/static/vendor/backbone.paginator.min.js
similarity index 100%
rename from web/pgadmin/static/js/backbone.paginator.min.js
rename to web/pgadmin/static/vendor/backbone.paginator.min.js
diff --git a/web/pgadmin/static/js/backbone.undo.js b/web/pgadmin/static/vendor/backbone.undo.js
similarity index 100%
rename from web/pgadmin/static/js/backbone.undo.js
rename to web/pgadmin/static/vendor/backbone.undo.js
diff --git a/web/pgadmin/static/js/backbone.undo.min.js b/web/pgadmin/static/vendor/backbone.undo.min.js
similarity index 100%
rename from web/pgadmin/static/js/backbone.undo.min.js
rename to web/pgadmin/static/vendor/backbone.undo.min.js
diff --git a/web/pgadmin/static/js/backform.js b/web/pgadmin/static/vendor/backform.js
similarity index 100%
rename from web/pgadmin/static/js/backform.js
rename to web/pgadmin/static/vendor/backform.js
diff --git a/web/pgadmin/static/js/backgrid/backgrid-filter.js b/web/pgadmin/static/vendor/backgrid/backgrid-filter.js
similarity index 100%
rename from web/pgadmin/static/js/backgrid/backgrid-filter.js
rename to web/pgadmin/static/vendor/backgrid/backgrid-filter.js
diff --git a/web/pgadmin/static/js/backgrid/backgrid-filter.min.js b/web/pgadmin/static/vendor/backgrid/backgrid-filter.min.js
similarity index 100%
rename from web/pgadmin/static/js/backgrid/backgrid-filter.min.js
rename to web/pgadmin/static/vendor/backgrid/backgrid-filter.min.js
diff --git a/web/pgadmin/static/js/backgrid/backgrid-paginator.js b/web/pgadmin/static/vendor/backgrid/backgrid-paginator.js
similarity index 100%
rename from web/pgadmin/static/js/backgrid/backgrid-paginator.js
rename to web/pgadmin/static/vendor/backgrid/backgrid-paginator.js
diff --git a/web/pgadmin/static/js/backgrid/backgrid-paginator.min.js b/web/pgadmin/static/vendor/backgrid/backgrid-paginator.min.js
similarity index 100%
rename from web/pgadmin/static/js/backgrid/backgrid-paginator.min.js
rename to web/pgadmin/static/vendor/backgrid/backgrid-paginator.min.js
diff --git a/web/pgadmin/static/js/backgrid/backgrid-select-all.js b/web/pgadmin/static/vendor/backgrid/backgrid-select-all.js
similarity index 100%
rename from web/pgadmin/static/js/backgrid/backgrid-select-all.js
rename to web/pgadmin/static/vendor/backgrid/backgrid-select-all.js
diff --git a/web/pgadmin/static/js/backgrid/backgrid-select-all.min.js b/web/pgadmin/static/vendor/backgrid/backgrid-select-all.min.js
similarity index 100%
rename from web/pgadmin/static/js/backgrid/backgrid-select-all.min.js
rename to web/pgadmin/static/vendor/backgrid/backgrid-select-all.min.js
diff --git a/web/pgadmin/static/js/backgrid/backgrid-sizeable-columns.js b/web/pgadmin/static/vendor/backgrid/backgrid-sizeable-columns.js
similarity index 100%
rename from web/pgadmin/static/js/backgrid/backgrid-sizeable-columns.js
rename to web/pgadmin/static/vendor/backgrid/backgrid-sizeable-columns.js
diff --git a/web/pgadmin/static/js/backgrid/backgrid.js b/web/pgadmin/static/vendor/backgrid/backgrid.js
similarity index 100%
rename from web/pgadmin/static/js/backgrid/backgrid.js
rename to web/pgadmin/static/vendor/backgrid/backgrid.js
diff --git a/web/pgadmin/static/js/backgrid/backgrid.min.js b/web/pgadmin/static/vendor/backgrid/backgrid.min.js
similarity index 100%
rename from web/pgadmin/static/js/backgrid/backgrid.min.js
rename to web/pgadmin/static/vendor/backgrid/backgrid.min.js
diff --git a/web/pgadmin/static/js/bignumber/bignumber.js b/web/pgadmin/static/vendor/bignumber/bignumber.js
similarity index 100%
rename from web/pgadmin/static/js/bignumber/bignumber.js
rename to web/pgadmin/static/vendor/bignumber/bignumber.js
diff --git a/web/pgadmin/static/js/bignumber/bignumber.min.js b/web/pgadmin/static/vendor/bignumber/bignumber.min.js
similarity index 100%
rename from web/pgadmin/static/js/bignumber/bignumber.min.js
rename to web/pgadmin/static/vendor/bignumber/bignumber.min.js
diff --git a/web/pgadmin/static/js/bootstrap-datepicker.js b/web/pgadmin/static/vendor/bootstrap-datepicker.js
similarity index 100%
rename from web/pgadmin/static/js/bootstrap-datepicker.js
rename to web/pgadmin/static/vendor/bootstrap-datepicker.js
diff --git a/web/pgadmin/static/js/bootstrap-datepicker.min.js b/web/pgadmin/static/vendor/bootstrap-datepicker.min.js
similarity index 100%
rename from web/pgadmin/static/js/bootstrap-datepicker.min.js
rename to web/pgadmin/static/vendor/bootstrap-datepicker.min.js
diff --git a/web/pgadmin/static/js/bootstrap-datetimepicker.js b/web/pgadmin/static/vendor/bootstrap-datetimepicker.js
similarity index 100%
rename from web/pgadmin/static/js/bootstrap-datetimepicker.js
rename to web/pgadmin/static/vendor/bootstrap-datetimepicker.js
diff --git a/web/pgadmin/static/js/bootstrap-datetimepicker.min.js b/web/pgadmin/static/vendor/bootstrap-datetimepicker.min.js
similarity index 100%
rename from web/pgadmin/static/js/bootstrap-datetimepicker.min.js
rename to web/pgadmin/static/vendor/bootstrap-datetimepicker.min.js
diff --git a/web/pgadmin/static/js/bootstrap-switch.js b/web/pgadmin/static/vendor/bootstrap-switch.js
similarity index 100%
rename from web/pgadmin/static/js/bootstrap-switch.js
rename to web/pgadmin/static/vendor/bootstrap-switch.js
diff --git a/web/pgadmin/static/js/bootstrap-switch.min.js b/web/pgadmin/static/vendor/bootstrap-switch.min.js
similarity index 100%
rename from web/pgadmin/static/js/bootstrap-switch.min.js
rename to web/pgadmin/static/vendor/bootstrap-switch.min.js
diff --git a/web/pgadmin/static/js/bootstrap.js b/web/pgadmin/static/vendor/bootstrap.js
similarity index 100%
rename from web/pgadmin/static/js/bootstrap.js
rename to web/pgadmin/static/vendor/bootstrap.js
diff --git a/web/pgadmin/static/js/bootstrap.min.js b/web/pgadmin/static/vendor/bootstrap.min.js
similarity index 100%
rename from web/pgadmin/static/js/bootstrap.min.js
rename to web/pgadmin/static/vendor/bootstrap.min.js
diff --git a/web/pgadmin/static/js/codemirror/addon/comment/comment.js b/web/pgadmin/static/vendor/codemirror/addon/comment/comment.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/comment/comment.js
rename to web/pgadmin/static/vendor/codemirror/addon/comment/comment.js
diff --git a/web/pgadmin/static/js/codemirror/addon/comment/continuecomment.js b/web/pgadmin/static/vendor/codemirror/addon/comment/continuecomment.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/comment/continuecomment.js
rename to web/pgadmin/static/vendor/codemirror/addon/comment/continuecomment.js
diff --git a/web/pgadmin/static/js/codemirror/addon/dialog/dialog.css b/web/pgadmin/static/vendor/codemirror/addon/dialog/dialog.css
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/dialog/dialog.css
rename to web/pgadmin/static/vendor/codemirror/addon/dialog/dialog.css
diff --git a/web/pgadmin/static/js/codemirror/addon/dialog/dialog.js b/web/pgadmin/static/vendor/codemirror/addon/dialog/dialog.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/dialog/dialog.js
rename to web/pgadmin/static/vendor/codemirror/addon/dialog/dialog.js
diff --git a/web/pgadmin/static/js/codemirror/addon/display/autorefresh.js b/web/pgadmin/static/vendor/codemirror/addon/display/autorefresh.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/display/autorefresh.js
rename to web/pgadmin/static/vendor/codemirror/addon/display/autorefresh.js
diff --git a/web/pgadmin/static/js/codemirror/addon/display/fullscreen.css b/web/pgadmin/static/vendor/codemirror/addon/display/fullscreen.css
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/display/fullscreen.css
rename to web/pgadmin/static/vendor/codemirror/addon/display/fullscreen.css
diff --git a/web/pgadmin/static/js/codemirror/addon/display/fullscreen.js b/web/pgadmin/static/vendor/codemirror/addon/display/fullscreen.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/display/fullscreen.js
rename to web/pgadmin/static/vendor/codemirror/addon/display/fullscreen.js
diff --git a/web/pgadmin/static/js/codemirror/addon/display/panel.js b/web/pgadmin/static/vendor/codemirror/addon/display/panel.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/display/panel.js
rename to web/pgadmin/static/vendor/codemirror/addon/display/panel.js
diff --git a/web/pgadmin/static/js/codemirror/addon/display/placeholder.js b/web/pgadmin/static/vendor/codemirror/addon/display/placeholder.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/display/placeholder.js
rename to web/pgadmin/static/vendor/codemirror/addon/display/placeholder.js
diff --git a/web/pgadmin/static/js/codemirror/addon/display/rulers.js b/web/pgadmin/static/vendor/codemirror/addon/display/rulers.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/display/rulers.js
rename to web/pgadmin/static/vendor/codemirror/addon/display/rulers.js
diff --git a/web/pgadmin/static/js/codemirror/addon/edit/closebrackets.js b/web/pgadmin/static/vendor/codemirror/addon/edit/closebrackets.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/edit/closebrackets.js
rename to web/pgadmin/static/vendor/codemirror/addon/edit/closebrackets.js
diff --git a/web/pgadmin/static/js/codemirror/addon/edit/closetag.js b/web/pgadmin/static/vendor/codemirror/addon/edit/closetag.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/edit/closetag.js
rename to web/pgadmin/static/vendor/codemirror/addon/edit/closetag.js
diff --git a/web/pgadmin/static/js/codemirror/addon/edit/continuelist.js b/web/pgadmin/static/vendor/codemirror/addon/edit/continuelist.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/edit/continuelist.js
rename to web/pgadmin/static/vendor/codemirror/addon/edit/continuelist.js
diff --git a/web/pgadmin/static/js/codemirror/addon/edit/matchbrackets.js b/web/pgadmin/static/vendor/codemirror/addon/edit/matchbrackets.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/edit/matchbrackets.js
rename to web/pgadmin/static/vendor/codemirror/addon/edit/matchbrackets.js
diff --git a/web/pgadmin/static/js/codemirror/addon/edit/matchtags.js b/web/pgadmin/static/vendor/codemirror/addon/edit/matchtags.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/edit/matchtags.js
rename to web/pgadmin/static/vendor/codemirror/addon/edit/matchtags.js
diff --git a/web/pgadmin/static/js/codemirror/addon/edit/trailingspace.js b/web/pgadmin/static/vendor/codemirror/addon/edit/trailingspace.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/edit/trailingspace.js
rename to web/pgadmin/static/vendor/codemirror/addon/edit/trailingspace.js
diff --git a/web/pgadmin/static/js/codemirror/addon/fold/brace-fold.js b/web/pgadmin/static/vendor/codemirror/addon/fold/brace-fold.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/fold/brace-fold.js
rename to web/pgadmin/static/vendor/codemirror/addon/fold/brace-fold.js
diff --git a/web/pgadmin/static/js/codemirror/addon/fold/comment-fold.js b/web/pgadmin/static/vendor/codemirror/addon/fold/comment-fold.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/fold/comment-fold.js
rename to web/pgadmin/static/vendor/codemirror/addon/fold/comment-fold.js
diff --git a/web/pgadmin/static/js/codemirror/addon/fold/foldcode.js b/web/pgadmin/static/vendor/codemirror/addon/fold/foldcode.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/fold/foldcode.js
rename to web/pgadmin/static/vendor/codemirror/addon/fold/foldcode.js
diff --git a/web/pgadmin/static/js/codemirror/addon/fold/foldgutter.css b/web/pgadmin/static/vendor/codemirror/addon/fold/foldgutter.css
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/fold/foldgutter.css
rename to web/pgadmin/static/vendor/codemirror/addon/fold/foldgutter.css
diff --git a/web/pgadmin/static/js/codemirror/addon/fold/foldgutter.js b/web/pgadmin/static/vendor/codemirror/addon/fold/foldgutter.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/fold/foldgutter.js
rename to web/pgadmin/static/vendor/codemirror/addon/fold/foldgutter.js
diff --git a/web/pgadmin/static/js/codemirror/addon/fold/indent-fold.js b/web/pgadmin/static/vendor/codemirror/addon/fold/indent-fold.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/fold/indent-fold.js
rename to web/pgadmin/static/vendor/codemirror/addon/fold/indent-fold.js
diff --git a/web/pgadmin/static/js/codemirror/addon/fold/markdown-fold.js b/web/pgadmin/static/vendor/codemirror/addon/fold/markdown-fold.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/fold/markdown-fold.js
rename to web/pgadmin/static/vendor/codemirror/addon/fold/markdown-fold.js
diff --git a/web/pgadmin/static/js/codemirror/addon/fold/pgadmin-sqlfoldcode.js b/web/pgadmin/static/vendor/codemirror/addon/fold/pgadmin-sqlfoldcode.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/fold/pgadmin-sqlfoldcode.js
rename to web/pgadmin/static/vendor/codemirror/addon/fold/pgadmin-sqlfoldcode.js
diff --git a/web/pgadmin/static/js/codemirror/addon/fold/xml-fold.js b/web/pgadmin/static/vendor/codemirror/addon/fold/xml-fold.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/fold/xml-fold.js
rename to web/pgadmin/static/vendor/codemirror/addon/fold/xml-fold.js
diff --git a/web/pgadmin/static/js/codemirror/addon/hint/anyword-hint.js b/web/pgadmin/static/vendor/codemirror/addon/hint/anyword-hint.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/hint/anyword-hint.js
rename to web/pgadmin/static/vendor/codemirror/addon/hint/anyword-hint.js
diff --git a/web/pgadmin/static/js/codemirror/addon/hint/css-hint.js b/web/pgadmin/static/vendor/codemirror/addon/hint/css-hint.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/hint/css-hint.js
rename to web/pgadmin/static/vendor/codemirror/addon/hint/css-hint.js
diff --git a/web/pgadmin/static/js/codemirror/addon/hint/html-hint.js b/web/pgadmin/static/vendor/codemirror/addon/hint/html-hint.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/hint/html-hint.js
rename to web/pgadmin/static/vendor/codemirror/addon/hint/html-hint.js
diff --git a/web/pgadmin/static/js/codemirror/addon/hint/javascript-hint.js b/web/pgadmin/static/vendor/codemirror/addon/hint/javascript-hint.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/hint/javascript-hint.js
rename to web/pgadmin/static/vendor/codemirror/addon/hint/javascript-hint.js
diff --git a/web/pgadmin/static/js/codemirror/addon/hint/show-hint.css b/web/pgadmin/static/vendor/codemirror/addon/hint/show-hint.css
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/hint/show-hint.css
rename to web/pgadmin/static/vendor/codemirror/addon/hint/show-hint.css
diff --git a/web/pgadmin/static/js/codemirror/addon/hint/show-hint.js b/web/pgadmin/static/vendor/codemirror/addon/hint/show-hint.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/hint/show-hint.js
rename to web/pgadmin/static/vendor/codemirror/addon/hint/show-hint.js
diff --git a/web/pgadmin/static/js/codemirror/addon/hint/sql-hint.js b/web/pgadmin/static/vendor/codemirror/addon/hint/sql-hint.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/hint/sql-hint.js
rename to web/pgadmin/static/vendor/codemirror/addon/hint/sql-hint.js
diff --git a/web/pgadmin/static/js/codemirror/addon/hint/xml-hint.js b/web/pgadmin/static/vendor/codemirror/addon/hint/xml-hint.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/hint/xml-hint.js
rename to web/pgadmin/static/vendor/codemirror/addon/hint/xml-hint.js
diff --git a/web/pgadmin/static/js/codemirror/addon/lint/coffeescript-lint.js b/web/pgadmin/static/vendor/codemirror/addon/lint/coffeescript-lint.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/lint/coffeescript-lint.js
rename to web/pgadmin/static/vendor/codemirror/addon/lint/coffeescript-lint.js
diff --git a/web/pgadmin/static/js/codemirror/addon/lint/css-lint.js b/web/pgadmin/static/vendor/codemirror/addon/lint/css-lint.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/lint/css-lint.js
rename to web/pgadmin/static/vendor/codemirror/addon/lint/css-lint.js
diff --git a/web/pgadmin/static/js/codemirror/addon/lint/html-lint.js b/web/pgadmin/static/vendor/codemirror/addon/lint/html-lint.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/lint/html-lint.js
rename to web/pgadmin/static/vendor/codemirror/addon/lint/html-lint.js
diff --git a/web/pgadmin/static/js/codemirror/addon/lint/javascript-lint.js b/web/pgadmin/static/vendor/codemirror/addon/lint/javascript-lint.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/lint/javascript-lint.js
rename to web/pgadmin/static/vendor/codemirror/addon/lint/javascript-lint.js
diff --git a/web/pgadmin/static/js/codemirror/addon/lint/json-lint.js b/web/pgadmin/static/vendor/codemirror/addon/lint/json-lint.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/lint/json-lint.js
rename to web/pgadmin/static/vendor/codemirror/addon/lint/json-lint.js
diff --git a/web/pgadmin/static/js/codemirror/addon/lint/lint.css b/web/pgadmin/static/vendor/codemirror/addon/lint/lint.css
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/lint/lint.css
rename to web/pgadmin/static/vendor/codemirror/addon/lint/lint.css
diff --git a/web/pgadmin/static/js/codemirror/addon/lint/lint.js b/web/pgadmin/static/vendor/codemirror/addon/lint/lint.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/lint/lint.js
rename to web/pgadmin/static/vendor/codemirror/addon/lint/lint.js
diff --git a/web/pgadmin/static/js/codemirror/addon/lint/yaml-lint.js b/web/pgadmin/static/vendor/codemirror/addon/lint/yaml-lint.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/lint/yaml-lint.js
rename to web/pgadmin/static/vendor/codemirror/addon/lint/yaml-lint.js
diff --git a/web/pgadmin/static/js/codemirror/addon/merge/merge.css b/web/pgadmin/static/vendor/codemirror/addon/merge/merge.css
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/merge/merge.css
rename to web/pgadmin/static/vendor/codemirror/addon/merge/merge.css
diff --git a/web/pgadmin/static/js/codemirror/addon/merge/merge.js b/web/pgadmin/static/vendor/codemirror/addon/merge/merge.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/merge/merge.js
rename to web/pgadmin/static/vendor/codemirror/addon/merge/merge.js
diff --git a/web/pgadmin/static/js/codemirror/addon/mode/loadmode.js b/web/pgadmin/static/vendor/codemirror/addon/mode/loadmode.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/mode/loadmode.js
rename to web/pgadmin/static/vendor/codemirror/addon/mode/loadmode.js
diff --git a/web/pgadmin/static/js/codemirror/addon/mode/multiplex.js b/web/pgadmin/static/vendor/codemirror/addon/mode/multiplex.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/mode/multiplex.js
rename to web/pgadmin/static/vendor/codemirror/addon/mode/multiplex.js
diff --git a/web/pgadmin/static/js/codemirror/addon/mode/multiplex_test.js b/web/pgadmin/static/vendor/codemirror/addon/mode/multiplex_test.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/mode/multiplex_test.js
rename to web/pgadmin/static/vendor/codemirror/addon/mode/multiplex_test.js
diff --git a/web/pgadmin/static/js/codemirror/addon/mode/overlay.js b/web/pgadmin/static/vendor/codemirror/addon/mode/overlay.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/mode/overlay.js
rename to web/pgadmin/static/vendor/codemirror/addon/mode/overlay.js
diff --git a/web/pgadmin/static/js/codemirror/addon/mode/simple.js b/web/pgadmin/static/vendor/codemirror/addon/mode/simple.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/mode/simple.js
rename to web/pgadmin/static/vendor/codemirror/addon/mode/simple.js
diff --git a/web/pgadmin/static/js/codemirror/addon/runmode/colorize.js b/web/pgadmin/static/vendor/codemirror/addon/runmode/colorize.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/runmode/colorize.js
rename to web/pgadmin/static/vendor/codemirror/addon/runmode/colorize.js
diff --git a/web/pgadmin/static/js/codemirror/addon/runmode/runmode-standalone.js b/web/pgadmin/static/vendor/codemirror/addon/runmode/runmode-standalone.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/runmode/runmode-standalone.js
rename to web/pgadmin/static/vendor/codemirror/addon/runmode/runmode-standalone.js
diff --git a/web/pgadmin/static/js/codemirror/addon/runmode/runmode.js b/web/pgadmin/static/vendor/codemirror/addon/runmode/runmode.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/runmode/runmode.js
rename to web/pgadmin/static/vendor/codemirror/addon/runmode/runmode.js
diff --git a/web/pgadmin/static/js/codemirror/addon/runmode/runmode.node.js b/web/pgadmin/static/vendor/codemirror/addon/runmode/runmode.node.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/runmode/runmode.node.js
rename to web/pgadmin/static/vendor/codemirror/addon/runmode/runmode.node.js
diff --git a/web/pgadmin/static/js/codemirror/addon/scroll/annotatescrollbar.js b/web/pgadmin/static/vendor/codemirror/addon/scroll/annotatescrollbar.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/scroll/annotatescrollbar.js
rename to web/pgadmin/static/vendor/codemirror/addon/scroll/annotatescrollbar.js
diff --git a/web/pgadmin/static/js/codemirror/addon/scroll/scrollpastend.js b/web/pgadmin/static/vendor/codemirror/addon/scroll/scrollpastend.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/scroll/scrollpastend.js
rename to web/pgadmin/static/vendor/codemirror/addon/scroll/scrollpastend.js
diff --git a/web/pgadmin/static/js/codemirror/addon/scroll/simplescrollbars.css b/web/pgadmin/static/vendor/codemirror/addon/scroll/simplescrollbars.css
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/scroll/simplescrollbars.css
rename to web/pgadmin/static/vendor/codemirror/addon/scroll/simplescrollbars.css
diff --git a/web/pgadmin/static/js/codemirror/addon/scroll/simplescrollbars.js b/web/pgadmin/static/vendor/codemirror/addon/scroll/simplescrollbars.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/scroll/simplescrollbars.js
rename to web/pgadmin/static/vendor/codemirror/addon/scroll/simplescrollbars.js
diff --git a/web/pgadmin/static/js/codemirror/addon/search/jump-to-line.js b/web/pgadmin/static/vendor/codemirror/addon/search/jump-to-line.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/search/jump-to-line.js
rename to web/pgadmin/static/vendor/codemirror/addon/search/jump-to-line.js
diff --git a/web/pgadmin/static/js/codemirror/addon/search/match-highlighter.js b/web/pgadmin/static/vendor/codemirror/addon/search/match-highlighter.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/search/match-highlighter.js
rename to web/pgadmin/static/vendor/codemirror/addon/search/match-highlighter.js
diff --git a/web/pgadmin/static/js/codemirror/addon/search/matchesonscrollbar.css b/web/pgadmin/static/vendor/codemirror/addon/search/matchesonscrollbar.css
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/search/matchesonscrollbar.css
rename to web/pgadmin/static/vendor/codemirror/addon/search/matchesonscrollbar.css
diff --git a/web/pgadmin/static/js/codemirror/addon/search/matchesonscrollbar.js b/web/pgadmin/static/vendor/codemirror/addon/search/matchesonscrollbar.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/search/matchesonscrollbar.js
rename to web/pgadmin/static/vendor/codemirror/addon/search/matchesonscrollbar.js
diff --git a/web/pgadmin/static/js/codemirror/addon/search/search.js b/web/pgadmin/static/vendor/codemirror/addon/search/search.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/search/search.js
rename to web/pgadmin/static/vendor/codemirror/addon/search/search.js
diff --git a/web/pgadmin/static/js/codemirror/addon/search/searchcursor.js b/web/pgadmin/static/vendor/codemirror/addon/search/searchcursor.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/search/searchcursor.js
rename to web/pgadmin/static/vendor/codemirror/addon/search/searchcursor.js
diff --git a/web/pgadmin/static/js/codemirror/addon/selection/active-line.js b/web/pgadmin/static/vendor/codemirror/addon/selection/active-line.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/selection/active-line.js
rename to web/pgadmin/static/vendor/codemirror/addon/selection/active-line.js
diff --git a/web/pgadmin/static/js/codemirror/addon/selection/mark-selection.js b/web/pgadmin/static/vendor/codemirror/addon/selection/mark-selection.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/selection/mark-selection.js
rename to web/pgadmin/static/vendor/codemirror/addon/selection/mark-selection.js
diff --git a/web/pgadmin/static/js/codemirror/addon/selection/selection-pointer.js b/web/pgadmin/static/vendor/codemirror/addon/selection/selection-pointer.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/selection/selection-pointer.js
rename to web/pgadmin/static/vendor/codemirror/addon/selection/selection-pointer.js
diff --git a/web/pgadmin/static/js/codemirror/addon/tern/tern.css b/web/pgadmin/static/vendor/codemirror/addon/tern/tern.css
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/tern/tern.css
rename to web/pgadmin/static/vendor/codemirror/addon/tern/tern.css
diff --git a/web/pgadmin/static/js/codemirror/addon/tern/tern.js b/web/pgadmin/static/vendor/codemirror/addon/tern/tern.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/tern/tern.js
rename to web/pgadmin/static/vendor/codemirror/addon/tern/tern.js
diff --git a/web/pgadmin/static/js/codemirror/addon/tern/worker.js b/web/pgadmin/static/vendor/codemirror/addon/tern/worker.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/tern/worker.js
rename to web/pgadmin/static/vendor/codemirror/addon/tern/worker.js
diff --git a/web/pgadmin/static/js/codemirror/addon/wrap/hardwrap.js b/web/pgadmin/static/vendor/codemirror/addon/wrap/hardwrap.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/addon/wrap/hardwrap.js
rename to web/pgadmin/static/vendor/codemirror/addon/wrap/hardwrap.js
diff --git a/web/pgadmin/static/js/codemirror/lib/codemirror.js b/web/pgadmin/static/vendor/codemirror/lib/codemirror.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/lib/codemirror.js
rename to web/pgadmin/static/vendor/codemirror/lib/codemirror.js
diff --git a/web/pgadmin/static/js/codemirror/mode/sql/sql.js b/web/pgadmin/static/vendor/codemirror/mode/sql/sql.js
similarity index 100%
rename from web/pgadmin/static/js/codemirror/mode/sql/sql.js
rename to web/pgadmin/static/vendor/codemirror/mode/sql/sql.js
diff --git a/web/pgadmin/static/js/flotr2/bean-min.js b/web/pgadmin/static/vendor/flotr2/bean-min.js
similarity index 100%
rename from web/pgadmin/static/js/flotr2/bean-min.js
rename to web/pgadmin/static/vendor/flotr2/bean-min.js
diff --git a/web/pgadmin/static/js/flotr2/bean.js b/web/pgadmin/static/vendor/flotr2/bean.js
similarity index 100%
rename from web/pgadmin/static/js/flotr2/bean.js
rename to web/pgadmin/static/vendor/flotr2/bean.js
diff --git a/web/pgadmin/static/js/flotr2/flotr2.amd.js b/web/pgadmin/static/vendor/flotr2/flotr2.amd.js
similarity index 100%
rename from web/pgadmin/static/js/flotr2/flotr2.amd.js
rename to web/pgadmin/static/vendor/flotr2/flotr2.amd.js
diff --git a/web/pgadmin/static/js/jQuery-contextMenu/jquery.contextMenu.js b/web/pgadmin/static/vendor/jQuery-contextMenu/jquery.contextMenu.js
similarity index 100%
rename from web/pgadmin/static/js/jQuery-contextMenu/jquery.contextMenu.js
rename to web/pgadmin/static/vendor/jQuery-contextMenu/jquery.contextMenu.js
diff --git a/web/pgadmin/static/js/jQuery-contextMenu/jquery.contextMenu.min.js b/web/pgadmin/static/vendor/jQuery-contextMenu/jquery.contextMenu.min.js
similarity index 100%
rename from web/pgadmin/static/js/jQuery-contextMenu/jquery.contextMenu.min.js
rename to web/pgadmin/static/vendor/jQuery-contextMenu/jquery.contextMenu.min.js
diff --git a/web/pgadmin/static/js/jQuery-contextMenu/jquery.ui.position.js b/web/pgadmin/static/vendor/jQuery-contextMenu/jquery.ui.position.js
similarity index 100%
rename from web/pgadmin/static/js/jQuery-contextMenu/jquery.ui.position.js
rename to web/pgadmin/static/vendor/jQuery-contextMenu/jquery.ui.position.js
diff --git a/web/pgadmin/static/js/jQuery-contextMenu/jquery.ui.position.min.js b/web/pgadmin/static/vendor/jQuery-contextMenu/jquery.ui.position.min.js
similarity index 100%
rename from web/pgadmin/static/js/jQuery-contextMenu/jquery.ui.position.min.js
rename to web/pgadmin/static/vendor/jQuery-contextMenu/jquery.ui.position.min.js
diff --git a/web/pgadmin/static/js/jquery-1.11.2.js b/web/pgadmin/static/vendor/jquery-1.11.2.js
similarity index 100%
rename from web/pgadmin/static/js/jquery-1.11.2.js
rename to web/pgadmin/static/vendor/jquery-1.11.2.js
diff --git a/web/pgadmin/static/js/jquery-1.11.2.min.js b/web/pgadmin/static/vendor/jquery-1.11.2.min.js
similarity index 100%
rename from web/pgadmin/static/js/jquery-1.11.2.min.js
rename to web/pgadmin/static/vendor/jquery-1.11.2.min.js
diff --git a/web/pgadmin/static/js/jquery-ui/jquery-ui-1.11.3.js b/web/pgadmin/static/vendor/jquery-ui/jquery-ui-1.11.3.js
similarity index 100%
rename from web/pgadmin/static/js/jquery-ui/jquery-ui-1.11.3.js
rename to web/pgadmin/static/vendor/jquery-ui/jquery-ui-1.11.3.js
diff --git a/web/pgadmin/static/js/jquery-ui/jquery-ui-1.11.3.min.js b/web/pgadmin/static/vendor/jquery-ui/jquery-ui-1.11.3.min.js
similarity index 100%
rename from web/pgadmin/static/js/jquery-ui/jquery-ui-1.11.3.min.js
rename to web/pgadmin/static/vendor/jquery-ui/jquery-ui-1.11.3.min.js
diff --git a/web/pgadmin/static/js/jquery-ui/jquery.event.drag-2.2.js b/web/pgadmin/static/vendor/jquery-ui/jquery.event.drag-2.2.js
similarity index 100%
rename from web/pgadmin/static/js/jquery-ui/jquery.event.drag-2.2.js
rename to web/pgadmin/static/vendor/jquery-ui/jquery.event.drag-2.2.js
diff --git a/web/pgadmin/static/js/jquery-ui/jquery.event.drop-2.2.js b/web/pgadmin/static/vendor/jquery-ui/jquery.event.drop-2.2.js
similarity index 100%
rename from web/pgadmin/static/js/jquery-ui/jquery.event.drop-2.2.js
rename to web/pgadmin/static/vendor/jquery-ui/jquery.event.drop-2.2.js
diff --git a/web/pgadmin/static/js/jquery.dropzone/dropzone.js b/web/pgadmin/static/vendor/jquery.dropzone/dropzone.js
similarity index 100%
rename from web/pgadmin/static/js/jquery.dropzone/dropzone.js
rename to web/pgadmin/static/vendor/jquery.dropzone/dropzone.js
diff --git a/web/pgadmin/static/js/modernizr-2.6.2-respond-1.1.0.min.js b/web/pgadmin/static/vendor/modernizr-2.6.2-respond-1.1.0.min.js
similarity index 100%
rename from web/pgadmin/static/js/modernizr-2.6.2-respond-1.1.0.min.js
rename to web/pgadmin/static/vendor/modernizr-2.6.2-respond-1.1.0.min.js
diff --git a/web/pgadmin/static/js/moment-with-locales.js b/web/pgadmin/static/vendor/moment-with-locales.js
similarity index 100%
rename from web/pgadmin/static/js/moment-with-locales.js
rename to web/pgadmin/static/vendor/moment-with-locales.js
diff --git a/web/pgadmin/static/js/moment-with-locales.min.js b/web/pgadmin/static/vendor/moment-with-locales.min.js
similarity index 100%
rename from web/pgadmin/static/js/moment-with-locales.min.js
rename to web/pgadmin/static/vendor/moment-with-locales.min.js
diff --git a/web/pgadmin/static/js/require.js b/web/pgadmin/static/vendor/require.js
similarity index 100%
rename from web/pgadmin/static/js/require.js
rename to web/pgadmin/static/vendor/require.js
diff --git a/web/pgadmin/static/js/require.min.js b/web/pgadmin/static/vendor/require.min.js
similarity index 100%
rename from web/pgadmin/static/js/require.min.js
rename to web/pgadmin/static/vendor/require.min.js
diff --git a/web/pgadmin/static/js/select2/i18n/ar.js b/web/pgadmin/static/vendor/select2/i18n/ar.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/ar.js
rename to web/pgadmin/static/vendor/select2/i18n/ar.js
diff --git a/web/pgadmin/static/js/select2/i18n/az.js b/web/pgadmin/static/vendor/select2/i18n/az.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/az.js
rename to web/pgadmin/static/vendor/select2/i18n/az.js
diff --git a/web/pgadmin/static/js/select2/i18n/bg.js b/web/pgadmin/static/vendor/select2/i18n/bg.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/bg.js
rename to web/pgadmin/static/vendor/select2/i18n/bg.js
diff --git a/web/pgadmin/static/js/select2/i18n/ca.js b/web/pgadmin/static/vendor/select2/i18n/ca.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/ca.js
rename to web/pgadmin/static/vendor/select2/i18n/ca.js
diff --git a/web/pgadmin/static/js/select2/i18n/cs.js b/web/pgadmin/static/vendor/select2/i18n/cs.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/cs.js
rename to web/pgadmin/static/vendor/select2/i18n/cs.js
diff --git a/web/pgadmin/static/js/select2/i18n/da.js b/web/pgadmin/static/vendor/select2/i18n/da.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/da.js
rename to web/pgadmin/static/vendor/select2/i18n/da.js
diff --git a/web/pgadmin/static/js/select2/i18n/de.js b/web/pgadmin/static/vendor/select2/i18n/de.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/de.js
rename to web/pgadmin/static/vendor/select2/i18n/de.js
diff --git a/web/pgadmin/static/js/select2/i18n/en.js b/web/pgadmin/static/vendor/select2/i18n/en.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/en.js
rename to web/pgadmin/static/vendor/select2/i18n/en.js
diff --git a/web/pgadmin/static/js/select2/i18n/es.js b/web/pgadmin/static/vendor/select2/i18n/es.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/es.js
rename to web/pgadmin/static/vendor/select2/i18n/es.js
diff --git a/web/pgadmin/static/js/select2/i18n/et.js b/web/pgadmin/static/vendor/select2/i18n/et.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/et.js
rename to web/pgadmin/static/vendor/select2/i18n/et.js
diff --git a/web/pgadmin/static/js/select2/i18n/eu.js b/web/pgadmin/static/vendor/select2/i18n/eu.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/eu.js
rename to web/pgadmin/static/vendor/select2/i18n/eu.js
diff --git a/web/pgadmin/static/js/select2/i18n/fa.js b/web/pgadmin/static/vendor/select2/i18n/fa.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/fa.js
rename to web/pgadmin/static/vendor/select2/i18n/fa.js
diff --git a/web/pgadmin/static/js/select2/i18n/fi.js b/web/pgadmin/static/vendor/select2/i18n/fi.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/fi.js
rename to web/pgadmin/static/vendor/select2/i18n/fi.js
diff --git a/web/pgadmin/static/js/select2/i18n/fr.js b/web/pgadmin/static/vendor/select2/i18n/fr.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/fr.js
rename to web/pgadmin/static/vendor/select2/i18n/fr.js
diff --git a/web/pgadmin/static/js/select2/i18n/gl.js b/web/pgadmin/static/vendor/select2/i18n/gl.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/gl.js
rename to web/pgadmin/static/vendor/select2/i18n/gl.js
diff --git a/web/pgadmin/static/js/select2/i18n/he.js b/web/pgadmin/static/vendor/select2/i18n/he.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/he.js
rename to web/pgadmin/static/vendor/select2/i18n/he.js
diff --git a/web/pgadmin/static/js/select2/i18n/hi.js b/web/pgadmin/static/vendor/select2/i18n/hi.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/hi.js
rename to web/pgadmin/static/vendor/select2/i18n/hi.js
diff --git a/web/pgadmin/static/js/select2/i18n/hr.js b/web/pgadmin/static/vendor/select2/i18n/hr.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/hr.js
rename to web/pgadmin/static/vendor/select2/i18n/hr.js
diff --git a/web/pgadmin/static/js/select2/i18n/hu.js b/web/pgadmin/static/vendor/select2/i18n/hu.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/hu.js
rename to web/pgadmin/static/vendor/select2/i18n/hu.js
diff --git a/web/pgadmin/static/js/select2/i18n/id.js b/web/pgadmin/static/vendor/select2/i18n/id.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/id.js
rename to web/pgadmin/static/vendor/select2/i18n/id.js
diff --git a/web/pgadmin/static/js/select2/i18n/is.js b/web/pgadmin/static/vendor/select2/i18n/is.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/is.js
rename to web/pgadmin/static/vendor/select2/i18n/is.js
diff --git a/web/pgadmin/static/js/select2/i18n/it.js b/web/pgadmin/static/vendor/select2/i18n/it.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/it.js
rename to web/pgadmin/static/vendor/select2/i18n/it.js
diff --git a/web/pgadmin/static/js/select2/i18n/ja.js b/web/pgadmin/static/vendor/select2/i18n/ja.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/ja.js
rename to web/pgadmin/static/vendor/select2/i18n/ja.js
diff --git a/web/pgadmin/static/js/select2/i18n/ko.js b/web/pgadmin/static/vendor/select2/i18n/ko.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/ko.js
rename to web/pgadmin/static/vendor/select2/i18n/ko.js
diff --git a/web/pgadmin/static/js/select2/i18n/lt.js b/web/pgadmin/static/vendor/select2/i18n/lt.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/lt.js
rename to web/pgadmin/static/vendor/select2/i18n/lt.js
diff --git a/web/pgadmin/static/js/select2/i18n/lv.js b/web/pgadmin/static/vendor/select2/i18n/lv.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/lv.js
rename to web/pgadmin/static/vendor/select2/i18n/lv.js
diff --git a/web/pgadmin/static/js/select2/i18n/mk.js b/web/pgadmin/static/vendor/select2/i18n/mk.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/mk.js
rename to web/pgadmin/static/vendor/select2/i18n/mk.js
diff --git a/web/pgadmin/static/js/select2/i18n/ms.js b/web/pgadmin/static/vendor/select2/i18n/ms.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/ms.js
rename to web/pgadmin/static/vendor/select2/i18n/ms.js
diff --git a/web/pgadmin/static/js/select2/i18n/nb.js b/web/pgadmin/static/vendor/select2/i18n/nb.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/nb.js
rename to web/pgadmin/static/vendor/select2/i18n/nb.js
diff --git a/web/pgadmin/static/js/select2/i18n/nl.js b/web/pgadmin/static/vendor/select2/i18n/nl.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/nl.js
rename to web/pgadmin/static/vendor/select2/i18n/nl.js
diff --git a/web/pgadmin/static/js/select2/i18n/pl.js b/web/pgadmin/static/vendor/select2/i18n/pl.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/pl.js
rename to web/pgadmin/static/vendor/select2/i18n/pl.js
diff --git a/web/pgadmin/static/js/select2/i18n/pt-BR.js b/web/pgadmin/static/vendor/select2/i18n/pt-BR.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/pt-BR.js
rename to web/pgadmin/static/vendor/select2/i18n/pt-BR.js
diff --git a/web/pgadmin/static/js/select2/i18n/pt.js b/web/pgadmin/static/vendor/select2/i18n/pt.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/pt.js
rename to web/pgadmin/static/vendor/select2/i18n/pt.js
diff --git a/web/pgadmin/static/js/select2/i18n/ro.js b/web/pgadmin/static/vendor/select2/i18n/ro.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/ro.js
rename to web/pgadmin/static/vendor/select2/i18n/ro.js
diff --git a/web/pgadmin/static/js/select2/i18n/ru.js b/web/pgadmin/static/vendor/select2/i18n/ru.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/ru.js
rename to web/pgadmin/static/vendor/select2/i18n/ru.js
diff --git a/web/pgadmin/static/js/select2/i18n/sk.js b/web/pgadmin/static/vendor/select2/i18n/sk.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/sk.js
rename to web/pgadmin/static/vendor/select2/i18n/sk.js
diff --git a/web/pgadmin/static/js/select2/i18n/sr-Cyrl.js b/web/pgadmin/static/vendor/select2/i18n/sr-Cyrl.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/sr-Cyrl.js
rename to web/pgadmin/static/vendor/select2/i18n/sr-Cyrl.js
diff --git a/web/pgadmin/static/js/select2/i18n/sr.js b/web/pgadmin/static/vendor/select2/i18n/sr.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/sr.js
rename to web/pgadmin/static/vendor/select2/i18n/sr.js
diff --git a/web/pgadmin/static/js/select2/i18n/sv.js b/web/pgadmin/static/vendor/select2/i18n/sv.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/sv.js
rename to web/pgadmin/static/vendor/select2/i18n/sv.js
diff --git a/web/pgadmin/static/js/select2/i18n/th.js b/web/pgadmin/static/vendor/select2/i18n/th.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/th.js
rename to web/pgadmin/static/vendor/select2/i18n/th.js
diff --git a/web/pgadmin/static/js/select2/i18n/tr.js b/web/pgadmin/static/vendor/select2/i18n/tr.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/tr.js
rename to web/pgadmin/static/vendor/select2/i18n/tr.js
diff --git a/web/pgadmin/static/js/select2/i18n/uk.js b/web/pgadmin/static/vendor/select2/i18n/uk.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/uk.js
rename to web/pgadmin/static/vendor/select2/i18n/uk.js
diff --git a/web/pgadmin/static/js/select2/i18n/vi.js b/web/pgadmin/static/vendor/select2/i18n/vi.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/vi.js
rename to web/pgadmin/static/vendor/select2/i18n/vi.js
diff --git a/web/pgadmin/static/js/select2/i18n/zh-CN.js b/web/pgadmin/static/vendor/select2/i18n/zh-CN.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/zh-CN.js
rename to web/pgadmin/static/vendor/select2/i18n/zh-CN.js
diff --git a/web/pgadmin/static/js/select2/i18n/zh-TW.js b/web/pgadmin/static/vendor/select2/i18n/zh-TW.js
similarity index 100%
rename from web/pgadmin/static/js/select2/i18n/zh-TW.js
rename to web/pgadmin/static/vendor/select2/i18n/zh-TW.js
diff --git a/web/pgadmin/static/js/select2/select2.full.js b/web/pgadmin/static/vendor/select2/select2.full.js
similarity index 100%
rename from web/pgadmin/static/js/select2/select2.full.js
rename to web/pgadmin/static/vendor/select2/select2.full.js
diff --git a/web/pgadmin/static/js/select2/select2.full.min.js b/web/pgadmin/static/vendor/select2/select2.full.min.js
similarity index 100%
rename from web/pgadmin/static/js/select2/select2.full.min.js
rename to web/pgadmin/static/vendor/select2/select2.full.min.js
diff --git a/web/pgadmin/static/js/slickgrid/README b/web/pgadmin/static/vendor/slickgrid/README
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/README
rename to web/pgadmin/static/vendor/slickgrid/README
diff --git a/web/pgadmin/static/js/slickgrid/controls/slick.columnpicker.css b/web/pgadmin/static/vendor/slickgrid/controls/slick.columnpicker.css
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/controls/slick.columnpicker.css
rename to web/pgadmin/static/vendor/slickgrid/controls/slick.columnpicker.css
diff --git a/web/pgadmin/static/js/slickgrid/controls/slick.columnpicker.js b/web/pgadmin/static/vendor/slickgrid/controls/slick.columnpicker.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/controls/slick.columnpicker.js
rename to web/pgadmin/static/vendor/slickgrid/controls/slick.columnpicker.js
diff --git a/web/pgadmin/static/js/slickgrid/controls/slick.pager.css b/web/pgadmin/static/vendor/slickgrid/controls/slick.pager.css
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/controls/slick.pager.css
rename to web/pgadmin/static/vendor/slickgrid/controls/slick.pager.css
diff --git a/web/pgadmin/static/js/slickgrid/controls/slick.pager.js b/web/pgadmin/static/vendor/slickgrid/controls/slick.pager.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/controls/slick.pager.js
rename to web/pgadmin/static/vendor/slickgrid/controls/slick.pager.js
diff --git a/web/pgadmin/static/js/slickgrid/plugins/slick.autotooltips.js b/web/pgadmin/static/vendor/slickgrid/plugins/slick.autotooltips.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/plugins/slick.autotooltips.js
rename to web/pgadmin/static/vendor/slickgrid/plugins/slick.autotooltips.js
diff --git a/web/pgadmin/static/js/slickgrid/plugins/slick.cellcopymanager.js b/web/pgadmin/static/vendor/slickgrid/plugins/slick.cellcopymanager.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/plugins/slick.cellcopymanager.js
rename to web/pgadmin/static/vendor/slickgrid/plugins/slick.cellcopymanager.js
diff --git a/web/pgadmin/static/js/slickgrid/plugins/slick.cellrangedecorator.js b/web/pgadmin/static/vendor/slickgrid/plugins/slick.cellrangedecorator.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/plugins/slick.cellrangedecorator.js
rename to web/pgadmin/static/vendor/slickgrid/plugins/slick.cellrangedecorator.js
diff --git a/web/pgadmin/static/js/slickgrid/plugins/slick.cellrangeselector.js b/web/pgadmin/static/vendor/slickgrid/plugins/slick.cellrangeselector.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/plugins/slick.cellrangeselector.js
rename to web/pgadmin/static/vendor/slickgrid/plugins/slick.cellrangeselector.js
diff --git a/web/pgadmin/static/js/slickgrid/plugins/slick.cellselectionmodel.js b/web/pgadmin/static/vendor/slickgrid/plugins/slick.cellselectionmodel.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/plugins/slick.cellselectionmodel.js
rename to web/pgadmin/static/vendor/slickgrid/plugins/slick.cellselectionmodel.js
diff --git a/web/pgadmin/static/js/slickgrid/plugins/slick.checkboxselectcolumn.js b/web/pgadmin/static/vendor/slickgrid/plugins/slick.checkboxselectcolumn.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/plugins/slick.checkboxselectcolumn.js
rename to web/pgadmin/static/vendor/slickgrid/plugins/slick.checkboxselectcolumn.js
diff --git a/web/pgadmin/static/js/slickgrid/plugins/slick.headerbuttons.css b/web/pgadmin/static/vendor/slickgrid/plugins/slick.headerbuttons.css
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/plugins/slick.headerbuttons.css
rename to web/pgadmin/static/vendor/slickgrid/plugins/slick.headerbuttons.css
diff --git a/web/pgadmin/static/js/slickgrid/plugins/slick.headerbuttons.js b/web/pgadmin/static/vendor/slickgrid/plugins/slick.headerbuttons.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/plugins/slick.headerbuttons.js
rename to web/pgadmin/static/vendor/slickgrid/plugins/slick.headerbuttons.js
diff --git a/web/pgadmin/static/js/slickgrid/plugins/slick.headermenu.css b/web/pgadmin/static/vendor/slickgrid/plugins/slick.headermenu.css
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/plugins/slick.headermenu.css
rename to web/pgadmin/static/vendor/slickgrid/plugins/slick.headermenu.css
diff --git a/web/pgadmin/static/js/slickgrid/plugins/slick.headermenu.js b/web/pgadmin/static/vendor/slickgrid/plugins/slick.headermenu.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/plugins/slick.headermenu.js
rename to web/pgadmin/static/vendor/slickgrid/plugins/slick.headermenu.js
diff --git a/web/pgadmin/static/js/slickgrid/plugins/slick.rowmovemanager.js b/web/pgadmin/static/vendor/slickgrid/plugins/slick.rowmovemanager.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/plugins/slick.rowmovemanager.js
rename to web/pgadmin/static/vendor/slickgrid/plugins/slick.rowmovemanager.js
diff --git a/web/pgadmin/static/js/slickgrid/plugins/slick.rowselectionmodel.js b/web/pgadmin/static/vendor/slickgrid/plugins/slick.rowselectionmodel.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/plugins/slick.rowselectionmodel.js
rename to web/pgadmin/static/vendor/slickgrid/plugins/slick.rowselectionmodel.js
diff --git a/web/pgadmin/static/js/slickgrid/slick.core.js b/web/pgadmin/static/vendor/slickgrid/slick.core.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/slick.core.js
rename to web/pgadmin/static/vendor/slickgrid/slick.core.js
diff --git a/web/pgadmin/static/js/slickgrid/slick.dataview.js b/web/pgadmin/static/vendor/slickgrid/slick.dataview.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/slick.dataview.js
rename to web/pgadmin/static/vendor/slickgrid/slick.dataview.js
diff --git a/web/pgadmin/static/js/slickgrid/slick.editors.js b/web/pgadmin/static/vendor/slickgrid/slick.editors.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/slick.editors.js
rename to web/pgadmin/static/vendor/slickgrid/slick.editors.js
diff --git a/web/pgadmin/static/js/slickgrid/slick.formatters.js b/web/pgadmin/static/vendor/slickgrid/slick.formatters.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/slick.formatters.js
rename to web/pgadmin/static/vendor/slickgrid/slick.formatters.js
diff --git a/web/pgadmin/static/js/slickgrid/slick.grid.js b/web/pgadmin/static/vendor/slickgrid/slick.grid.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/slick.grid.js
rename to web/pgadmin/static/vendor/slickgrid/slick.grid.js
diff --git a/web/pgadmin/static/js/slickgrid/slick.pgadmin.editors.js b/web/pgadmin/static/vendor/slickgrid/slick.pgadmin.editors.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/slick.pgadmin.editors.js
rename to web/pgadmin/static/vendor/slickgrid/slick.pgadmin.editors.js
diff --git a/web/pgadmin/static/js/slickgrid/slick.pgadmin.formatters.js b/web/pgadmin/static/vendor/slickgrid/slick.pgadmin.formatters.js
similarity index 100%
rename from web/pgadmin/static/js/slickgrid/slick.pgadmin.formatters.js
rename to web/pgadmin/static/vendor/slickgrid/slick.pgadmin.formatters.js
diff --git a/web/pgadmin/static/js/underscore-min.js b/web/pgadmin/static/vendor/underscore-min.js
similarity index 100%
rename from web/pgadmin/static/js/underscore-min.js
rename to web/pgadmin/static/vendor/underscore-min.js
diff --git a/web/pgadmin/static/js/underscore.js b/web/pgadmin/static/vendor/underscore.js
similarity index 100%
rename from web/pgadmin/static/js/underscore.js
rename to web/pgadmin/static/vendor/underscore.js
diff --git a/web/pgadmin/static/js/underscore.string.js b/web/pgadmin/static/vendor/underscore.string.js
similarity index 100%
rename from web/pgadmin/static/js/underscore.string.js
rename to web/pgadmin/static/vendor/underscore.string.js
diff --git a/web/pgadmin/static/js/underscore.string.min.js b/web/pgadmin/static/vendor/underscore.string.min.js
similarity index 100%
rename from web/pgadmin/static/js/underscore.string.min.js
rename to web/pgadmin/static/vendor/underscore.string.min.js
diff --git a/web/pgadmin/static/js/wcDocker/README b/web/pgadmin/static/vendor/wcDocker/README
similarity index 100%
rename from web/pgadmin/static/js/wcDocker/README
rename to web/pgadmin/static/vendor/wcDocker/README
diff --git a/web/pgadmin/static/js/wcDocker/wcDocker.js b/web/pgadmin/static/vendor/wcDocker/wcDocker.js
similarity index 100%
rename from web/pgadmin/static/js/wcDocker/wcDocker.js
rename to web/pgadmin/static/vendor/wcDocker/wcDocker.js
diff --git a/web/pgadmin/static/js/wcDocker/wcDocker.min.js b/web/pgadmin/static/vendor/wcDocker/wcDocker.min.js
similarity index 100%
rename from web/pgadmin/static/js/wcDocker/wcDocker.min.js
rename to web/pgadmin/static/vendor/wcDocker/wcDocker.min.js
diff --git a/web/pgadmin/templates/base.html b/web/pgadmin/templates/base.html
index da907d3e..0f4cf0ba 100755
--- a/web/pgadmin/templates/base.html
+++ b/web/pgadmin/templates/base.html
@@ -52,7 +52,7 @@
     <link type="text/css" rel="stylesheet"
           href="{{ url_for('static', filename='css/slickgrid/smoothness/jquery-ui-1.11.3.custom.css' if config.DEBUG else 'css/slickgrid/smoothness/jquery-ui-1.11.3.custom.min.css')}}"/>
     <link type="text/css" rel="stylesheet"
-          href="{{ url_for('static', filename='js/codemirror/addon/scroll/simplescrollbars.css')}}"/>
+          href="{{ url_for('static', filename='vendor/codemirror/addon/scroll/simplescrollbars.css')}}"/>
 
     <!-- View specified stylesheets -->
     {% for stylesheet in current_app.stylesheets %}
@@ -65,18 +65,18 @@
 
     <!-- Base template scripts -->
     <script type="text/javascript"
-            src="{{ url_for('static', filename='js/require.js' if config.DEBUG else 'js/require.min.js') }}"></script>
+            src="{{ url_for('static', filename='vendor/require.js' if config.DEBUG else 'vendor/require.min.js') }}"></script>
     <script type="text/javascript">
             require.config({
                 baseUrl: '',
                 waitSeconds: 0,
                 packages: [{
                   name: 'codemirror',
-                  location: '{{ url_for('static', filename='js/codemirror')}}',
+                  location: '{{ url_for('static', filename='vendor/codemirror')}}',
                   main: 'lib/codemirror'
                 },{
                   name: 'slickgrid',
-                  location: '{{ url_for('static', filename='js/slickgrid')}}',
+                  location: '{{ url_for('static', filename='vendor/slickgrid')}}',
                   main: 'slick.core'
                 }],
                 shim: {
@@ -158,34 +158,35 @@
                 },
                 paths: {
                     pgadmin: "{{ url_for('static', filename='js/pgadmin') }}",
-                    modernizr: "{{ url_for('static', filename='js/modernizr-2.6.2-respond-1.1.0.min') }}",
-                    jquery: "{{ url_for('static', filename='js/' + ('jquery-1.11.2' if config.DEBUG else 'jquery-1.11.2.min')) }}",
-                    select2: "{{ url_for('static', filename='js/select2/' + ('select2.full' if config.DEBUG else 'select2.full.min')) }}",
-                    moment: "{{ url_for('static', filename='js/moment-with-locales' + ('' if config.DEBUG else '.min')) }}",
-                    underscore: "{{ url_for('static', filename='js/' + ('underscore' if config.DEBUG else 'underscore-min')) }}",
-                    "underscore.string": "{{ url_for('static', filename='js/' + ('underscore.string' if config.DEBUG else 'underscore.string.min')) }}",
-                    bootstrap: "{{ url_for('static', filename='js/' + ('bootstrap' if config.DEBUG else 'bootstrap.min')) }}",
-                    alertifyjs: "{{ url_for('static', filename='js/alertifyjs/' + ('alertify' if config.DEBUG else 'alertify.min')) }}",
-                    'pgadmin.alertifyjs': "{{ url_for('static', filename='js/alertifyjs/pgadmin.defaults') }}",
-                    backbone: "{{ url_for('static', filename='js/' + ('backbone' if config.DEBUG else 'backbone-min')) }}",
-                    "backbone.paginator": "{{ url_for('static', filename='js/' + ('backbone.paginator' if config.DEBUG else 'backbone.paginator.min')) }}",
-                    "bootstrap.datepicker": "{{ url_for('static', filename='js/bootstrap-datepicker' + ('' if config.DEBUG else '.min')) }}",
-                    "bootstrap.datetimepicker": "{{ url_for('static', filename='js/bootstrap-datetimepicker' + ('' if config.DEBUG else '.min')) }}",
-                    "bootstrap.switch": "{{ url_for('static', filename='js/' + ('bootstrap-switch' if config.DEBUG else 'bootstrap-switch.min')) }}",
-                    backform: "{{ url_for('static', filename='js/backform') }}",
-                    backgrid: "{{ url_for('static', filename='js/backgrid/' + ('backgrid' if config.DEBUG else 'backgrid.min')) }}",
-                    "backgrid.select.all": "{{ url_for('static', filename='js/backgrid/' + ('backgrid-select-all' if config.DEBUG else 'backgrid-select-all.min')) }}",
-                    "backgrid.paginator": "{{ url_for('static', filename='js/backgrid/' + ('backgrid-paginator' if config.DEBUG else 'backgrid-paginator.min')) }}",
-                    "backgrid.filter": "{{ url_for('static', filename='js/backgrid/' + ('backgrid-filter' if config.DEBUG else 'backgrid-filter.min')) }}",
-                    "backgrid.sizeable.columns": "{{ url_for('static', filename='js/backgrid/backgrid-sizeable-columns') }}",
-                    "backbone.undo": "{{ url_for('static', filename='js/' + ('backbone.undo' if config.DEBUG else 'backbone.undo.min')) }}",
-                    "pgadmin.backgrid": "{{ url_for('static', filename='js/backgrid/backgrid.pgadmin') }}",
+                    'pgadmin.alertifyjs': "{{ url_for('static', filename='js/alertify.pgadmin.defaults') }}",
+                    "pgadmin.backgrid": "{{ url_for('static', filename='js/backgrid.pgadmin') }}",
                     'pgadmin.backform': "{{ url_for('static', filename='js/backform.pgadmin') }}",
-                    "jquery.event.drag": "{{ url_for('static', filename='js/jquery-ui/jquery.event.drag-2.2') }}",
-                    "jquery.ui": "{{ url_for('static', filename='js/jquery-ui/jquery-ui-1.11.3' if config.DEBUG else 'js/jquery-ui/jquery-ui-1.11.3.min') }}",
-                    "bignumber": "{{ url_for('static', filename='js/bignumber/bignumber' if config.DEBUG else 'js/bignumber/bignumber.min') }}",
-                    bean :"{{ url_for('static', filename='js/flotr2/' + ('bean' if config.DEBUG else 'bean-min')) }}",
-                    flotr2 :"{{ url_for('static', filename='js/flotr2/flotr2.amd') }}"{% for script in current_app.javascripts %},
+
+                    modernizr: "{{ url_for('static', filename='vendor/modernizr-2.6.2-respond-1.1.0.min') }}",
+                    jquery: "{{ url_for('static', filename='vendor/' + ('jquery-1.11.2' if config.DEBUG else 'jquery-1.11.2.min')) }}",
+                    select2: "{{ url_for('static', filename='vendor/select2/' + ('select2.full' if config.DEBUG else 'select2.full.min')) }}",
+                    moment: "{{ url_for('static', filename='vendor/moment-with-locales' + ('' if config.DEBUG else '.min')) }}",
+                    underscore: "{{ url_for('static', filename='vendor/' + ('underscore' if config.DEBUG else 'underscore-min')) }}",
+                    "underscore.string": "{{ url_for('static', filename='vendor/' + ('underscore.string' if config.DEBUG else 'underscore.string.min')) }}",
+                    bootstrap: "{{ url_for('static', filename='vendor/' + ('bootstrap' if config.DEBUG else 'bootstrap.min')) }}",
+                    alertifyjs: "{{ url_for('static', filename='vendor/alertifyjs/' + ('alertify' if config.DEBUG else 'alertify.min')) }}",
+                    backbone: "{{ url_for('static', filename='vendor/' + ('backbone' if config.DEBUG else 'backbone-min')) }}",
+                    "backbone.paginator": "{{ url_for('static', filename='vendor/' + ('backbone.paginator' if config.DEBUG else 'backbone.paginator.min')) }}",
+                    "bootstrap.datepicker": "{{ url_for('static', filename='vendor/bootstrap-datepicker' + ('' if config.DEBUG else '.min')) }}",
+                    "bootstrap.datetimepicker": "{{ url_for('static', filename='vendor/bootstrap-datetimepicker' + ('' if config.DEBUG else '.min')) }}",
+                    "bootstrap.switch": "{{ url_for('static', filename='vendor/' + ('bootstrap-switch' if config.DEBUG else 'bootstrap-switch.min')) }}",
+                    backform: "{{ url_for('static', filename='vendor/backform') }}",
+                    backgrid: "{{ url_for('static', filename='vendor/backgrid/' + ('backgrid' if config.DEBUG else 'backgrid.min')) }}",
+                    "backgrid.select.all": "{{ url_for('static', filename='vendor/backgrid/' + ('backgrid-select-all' if config.DEBUG else 'backgrid-select-all.min')) }}",
+                    "backgrid.paginator": "{{ url_for('static', filename='vendor/backgrid/' + ('backgrid-paginator' if config.DEBUG else 'backgrid-paginator.min')) }}",
+                    "backgrid.filter": "{{ url_for('static', filename='vendor/backgrid/' + ('backgrid-filter' if config.DEBUG else 'backgrid-filter.min')) }}",
+                    "backgrid.sizeable.columns": "{{ url_for('static', filename='vendor/backgrid/backgrid-sizeable-columns') }}",
+                    "backbone.undo": "{{ url_for('static', filename='vendor/' + ('backbone.undo' if config.DEBUG else 'backbone.undo.min')) }}",
+                    "jquery.event.drag": "{{ url_for('static', filename='vendor/jquery-ui/jquery.event.drag-2.2') }}",
+                    "jquery.ui": "{{ url_for('static', filename='vendor/jquery-ui/jquery-ui-1.11.3' if config.DEBUG else 'vendor/jquery-ui/jquery-ui-1.11.3.min') }}",
+                    "bignumber": "{{ url_for('static', filename='vendor/bignumber/bignumber' if config.DEBUG else 'vendor/bignumber/bignumber.min') }}",
+                    bean :"{{ url_for('static', filename='vendor/flotr2/' + ('bean' if config.DEBUG else 'bean-min')) }}",
+                    flotr2 :"{{ url_for('static', filename='vendor/flotr2/flotr2.amd') }}"{% for script in current_app.javascripts %},
                     '{{ script.name }}': "{{ script.path }}"{% endfor %}
                 }
             });
-- 
2.11.0

