IE9.10.11 don't support beginElement, so I just disabled it for them. It...

... looks a little clunky but it's a quick fix. A better fix would be to figure out how to replicate that behavior in IE9,10,11.