Fixing nodejs build and some events for desktop browser