simple function to mod path for local node modules