Reformat comments and add smartpairs plugin