fixes to the nodejs package