Wrapping a browser instead of using one directly doesn't make your application run in a non-browser runtime environment.
And to be completely honest, probably sacrificing a bit karma. All of your examples enforce my point of view on JS as a 'use it as minimal as necessary' language else avoid it.