cleaned up template html output. Still getting IE errors