edited text and js