Better search memory management, minified scripts, removed coffeescript