tweak js script