enhance the tpjs argument passing (issues #5)