Fixed typo: decodeURIComponent rather than decodeURIcomponent