Javascript validation to be done on Creation page