Refractored a lot. Search feature is now non-js.