Write js coverage into an intermediate format to combine later

This will allow us to have combined js coverage after all
specs have been run, just like we have for our python coverage.