Adding libraries and setting up requirejs