Selects by class rather than id

Also spiffed up the example