Replaced deprecated getElementsByClass with jQuery

See Issue #4 and
https://www.dokuwiki.org/devel:jqueryfaq#getelementsbyclass
Merge pull request #5 from PatrickLerner/master

Replaced deprecated getElementsByClass with jQuery