Making functions work

getElementsByClass is now a prototype.