Use local require() in Node JS app

Fixes #123