Use var self=this consistently, closes #78