added link from javascript plot to locations/show page