Added script tag and JS hook