Use IFI to limit # of JSHint warnings
Missing semicolons
Comparrison with null doesn't always do what expected (see also: undefined).
Accidental global variable
Use $var convention to denote jQuery objects