js concat cleanup