improved requirejs dependencies