solve requirejs dependencies