allowing class selectors for svg elements