fixed module check method
Merge pull request #10 from vpsllc/bugfix/undefinedModuleCheck

fixed module check method
Updates for NCC
Resolving merge conflicts
merged with master
added the updated compiled js