[javascript] Replacing spaces with underscores in JavaScript?