Added dom element in callbacks