fixing admin.js for standards errors