Added jquery class selector to javascript snippets.