cleaned admin.js