Moved search logic to new controller
Fixed search/location coffeescript conflict