updated search and layout for performance. Removed the rendered PHP HTML and moved it to Javascript. Might want to do something for non - js people.