Fix warning for IE < 8