foswig now works in nodejs (as well as the browser via browserfy)