Tidied script.js up a little bit
Tidied up the admin page