Update application.js

updated formReset()