Admin stuff wrt javascript & validation