trying to improve isString check for IE6-7