Changes to admin.php + main.js