added helper.js to api