moving the hydra grab behavior to JS