updated to make it run on nodejitsu