fix regression is JS, my bad