Added temporary solution for handling IE and markers.