Add basic search demo.
Make JS make a bit more sense