change js pt