- js: fix: rpmts_resolve must function w both NULL/empty ts pointer.
- js: fix: rpmts_resolve must function w both NULL/empty ts pointer.

devzero2000/RPM5,devzero2000/RPM5,devzero2000/RPM5,devzero2000/RPM5,devzero2000/RPM5,devzero2000/RPM5,devzero2000/RPM5