Fix compatibility of add annotations with Chrome