fix coverage culculate error, #911

1. 修复 https://github.com/spmjs/spm/issues/911
2. 检查覆盖率时只处理 js 文件