use text in js