Add coverage test using jscoverage, including windows binaries for jscoverage to make it run out-of-the-box. For the record, jscover did not work for me.
some syntax fixes to appease jscoverage.