Small correction on jsoapi.js