tweak to js