fixed basic endpoint.js