Added more shnazzy javascript code to check content during creating admins