Added a missing method related to JS in CoreDriver