nodejs wrapper script now runs node with different options, depending if swap is active or not. Fixes #4