This fixes toggle Issues in IE

Related to issue https://github.com/jakiestfu/Snap.js/issues/89