Add sendJavascript abstract method