dont use classlist directly as its not very crossbrowser, and move to svg specific file.