Added unit test, making sure that non-require included UMD-pattern modules do not populate requirejs dependencies
Improved JavaScript.isRequired getter