fixed XSS vuln in searchbox

Fixes issue described here:

https://github.com/tripit/slate/issues/112
Robert, I like this better. :)