Common JS API: fix for prompt-less native android bridge