add dom level2 event handlers