Make flags more IE compatible, reindent,