add click js to locations