jQuery to Create Button to Show/Hide WordPress Comments and to Hide Comments by Default

when you use jquery in wordress it is better to avoid using $() and use jQuery() instead. Don’t know the actual reasoning behind that but it is probably done that way to avoid collisions with other libraries that use the $ syntax.