app.js - moved all the constants to the global.js. created a validation function, and now we also call it when trying to add data.
main.js
Merge remote-tracking branch 'origin/master'

Conflicts:
	js/app.js