switch order of IE vs W3C api detection; html; testling