make tinyosf node-js-module compatible