adding a minor fix for #362 until we get full nodejs lib support