Javascript now works with multiple classes on elements.