moved update validate in applicationjs
updated input type for email