Rounded out admin JS functions, namespaced them, and put them inside an admin.js file