Remove js admin functions

* Remove all of the js_admin functions from the models since we decided not to move forward with the js admin.
* Also includes two small js bugfixes