tweak JS config