set up requirejs and neccessary config