feature: add baseline javascript coverage switch

I haven't checked this carefully, but I think this fixes issues mentioned in the pull request that @ThomasYoung283  created to close #11.

It would be VERY appreciated if you could check when time allows!