Fix dependencies for requirejs