js-API wrapper for straw-android