simplified search_box.html by moving all javascript to one file