add javascript settings