Fix some IE issues and mithril insertBefore