loads .js and .css using requirejs