Added encodeURIComponent to serialize parameters for Internet Explorer (problems with IDs of sites that contains accented characters)