A bunch of tweaks to make things work in all supported browsers. _.bindAll is bad in IE8