update search width until window.load
input type number looks bad on IE