Add nodeJS module support

If a project wants to use lawnchair as part of their libraries, this PR allows it to load it as a module.