Updated to only serialize if IE 9 is in the mix