Is remove this javascript intentional? How are we hooking the buttons up?