send text with javascript