JS injector for WebView moved to abstract class to handle API difference between Android versions