added static html to container div/changed variable names/ added utility functions including a fast filter/optimised search perf