Runnable demonstration of https://github.com/jrburke/requirejs/issues/986