How to get the current URL in JavaScript

Published --