Updates jquery query to proper handle spotId property