Complete the HTML Standard:Implemented global window events for the HTML5standard