tpjavascript