Use requirejs.undef() to reset, but called before the first require() for the module. Like undefRequire.html, but with another module in the queue. More info.
Check console for messages