Allow project to be served from a subfolder

Currently, if you'd serve the project not from a root, the RequireJS goes nuts. These fixes the issue.