javascript settings