Added a bit of javascript for the add/search box