replacing deprecated require.extensions nodejs call with explicit full paths for require()
removing un-necessary .js extension
Merge pull request #227 from lirantal/bugfix-188-require-extensions-deprecated

bug fix for issue #188 for removing deprecated nodejs's require.extensions