Tweak for IE (mixed case attributes (e.g. isRange) and prevent style="width:90%" from throwing an exception during conversion to object), and fix several jshint style errors.