Add JS code coverage

Use pure mocha for now since we are not able to get coverage check with Arrow successfully.