Major Revision to include requirejs