Fixing JS tests
- Fixed broken tests after QUnit update
- Fixed the inconsistent line endings issue in default.html (YAY!)
- #2307