moved search from js back to elm but input box from elm to js