Could you add a type="search" here while you're at it? It's needed to get the proper style on some browser platforms.

http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#text-(type=text)-state-and-search-state-(type=search)