Add some basic nodejs compatibility to the pypy.js public API