Fixed autolayout in IE, pemoved pure JS version