search bar now works with postMessage