Fixes so JSCoverage can work