Added onStringTyped callback at demo