retool array, boolean, string, and date checks to work reliably in IE