js additions