more slight tweaks to js to make more IE-compatible
Debug code
s/6.5.0/6.5.1/
Merge branch 'bugfixes-6_5_1'