#122 Integration with js-api