JavaScript Alternative.