add codesy.js for api calls