def change_event_name(event):
    """
    Change event names from json style to html (ex: BLOCKED_SHOT to BLOCK). 
    
    :param event: event type
    
    :return: fixed event type
    """
    event_types = {'PERIOD START': 'PSTR', 'FACEOFF': 'FAC', 'BLOCKED SHOT':
        'BLOCK', 'GAME END': 'GEND', 'GIVEAWAY': 'GIVE', 'GOAL': 'GOAL',
        'HIT': 'HIT', 'MISSED SHOT': 'MISS', 'PERIOD END': 'PEND', 'SHOT':
        'SHOT', 'STOPPAGE': 'STOP', 'TAKEAWAY': 'TAKE', 'PENALTY': 'PENL',
        'EARLY INT START': 'EISTR', 'EARLY INT END': 'EIEND',
        'SHOOTOUT COMPLETE': 'SOC', 'CHALLENGE': 'CHL',
        'EMERGENCY GOALTENDER': 'EGPID'}
    return event_types.get(event.upper(), event)
