Removed unnecessary jQuery usage

In future, document.forms[0].q.focus(); should be replaced with an
autofocus attribute on the "q" field.