fix coverage culculate error, #911
only process js files
Merge pull request #912 from afc163/master

fix coverage culculate error, #911