JavaScript : How to remove part of a string?

Published --