[javascript] How to get the URL without any parameters in JavaScript?