Added fn to clear form in app.js