admin.js changes