CocoonJS fix to always use the javascript interface