Javascript Get Current Url Without Parameters