Changing to simple_form
Alerts with javascript