.jshintrc, major reformat, fix bugs&tests in oldIE