Fix #3 Javascript now works with multiple classes on elements.

Added string_contains to utils.js and replaced code of the form something.className == 'someclass' with string_contains(something.className, 'someclass')