KarmaJsSourcesLocator class extracted