Removed double declaration of var that = this;

It was really bugging me.