Add support for IE < 8