JSLINT tweaks
remove debuging
subclass the two button types