Insert jQuery through JHtml methods in Joomla 3.x

Also adds in a custom form field