Implemented ".bind(this)" in Promises instead of using "var self = this;".
This removes quite some boring lines of code.

Moved the file "public/javascript/app/init.js" to "public/javascript/init.js". Updated the reference in main.js.