Javascript Open New Tab With Url Encode