changed up ordering in main, now use local requirejs