[javascript] How to use target in location.href