Setup JS actions