remove unneeded var self = this assignments