use setAttribute instead of autocorrect setter, since the setter doesn't work on ipad
highlight tags when cursor is before tagname
disable warning
fix regression in setDefaultValues
change variable char to character
Merge pull request #2275 from mehtaphysical/char_reserved_in_js

change variable char to character
Merge pull request #2267 from ajaxorg/fix/various

Fix various small issues