add warning for browsers don't support addEventListener