Fix requirejs issues