Some work on setting up requirejs infrastructure