added default type text/javascript in HtmlHelpler::script() method