added search html example with initial layout and broke out javascript into a different file