node js fixes, other fixes