Added IE8 support, autoformating (remove mixed spaces & tabs)