fixed XSS vuln in searchbox

Fixes issue described here:

https://github.com/tripit/slate/issues/112
Sweet! Thanks!