Update classList.js

add support for svg elements