Stylistic changes to satisfy JSHint, adding IE 6 & 7 back