Minor fixes to requirejs dependencies