Changed implementation of RequireJS deps