fix requirejs loading