Removed window.- from encode- and decode- URI