Added possibility to use JavaScript to click WebElements