Added comment for .replace(/\+/gim, " ")