Modify onpropertychange handler definition