Update jsfunc.js

update api domain name