code coverage in native javascript