fix https://github.com/jrburke/requirejs/issues/916