Issue #1839130 by rballou, nod_, droplet: Refactor modules/views_ui()/js/views-admin.js.

PR for http://drupal.org/node/1839130