fix requirejs wrap support