Removing extra parameters in html