Fixed the requirejs configuration. Added a better wrapper.