Fix homepage template so url params pass through.

--JS that inserted them was below the form and needed to be moved above them.