edit typesquare-api.js