Fix some JQuery bugs on the admin page