Got requirejs working in the context of this project.