rewrite the requirejs