fixing requirejs race issue (with Tim)