fix js bug: move map js code to shops/map view only