bug fixes

+ wrong IE conditional comment
+ fixed scaling on mobile devices
+ renaming some JS vars