adding the tutorial from http://verekia.com/requirejs/build-simple-client-side-mvc-app-require-js