Switched template file to use admin.js