Changing event names to lowercase to comply with DOM2 conventions