safe DOM.importStyles
drop valueOf + minor improvements