npm ie8 didn't support CustomEvent