Fix restaurant finding feature, and generally clean up JS too with @bajh