refactored code

moved events.js back to app.js since closures in the app.js file,
changed feedback to read the input from the DOM and removed input and
differencePrev variables from feedback closure