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

replacing deprecated require.extensions nodejs call with explicit full paths for require()