a class for proxy dom event