[JS] minor change in single String task