fixing issue with jquery 1.10.0+ when no comments are present