use api for browser
use api for browser

Signed-off-by: Jiri Novotny <e5ef7f2abbccdc2f564feb6751cb279338cc3edf@gmail.com>

jiri-novotny/arizen,ZencashOfficial/arizen,ZencashOfficial/arizen,woky/arizen,woky/arizen,woky/arizen,jiri-novotny/arizen,ZencashOfficial/arizen