added ajax searching and sorting (w/ ransack gem)