CocoonJS fix on updateText