- Changed structure to use requirejs