Add javascript setting