Remove VERY nasty DOM binding code