Small fixes to the main nodejs app