fixing bugs in coverage.js module
Merge pull request #5 from dmitrygorbenko/master

fixing bugs in coverage.js module