How to get current url using javascript

Published --