disable jshint errors for re-declaring vars
fix a lot of jshint errors as well as some bugs found in the process
Add comment about shadow
http://www.jshint.com/docs/options/#shadow
Add Notification as predefined global
https://developer.mozilla.org/en/docs/Web/API/notification
Another batch of fixes of JSHint errors
Variables can't have dots in their name for obvious reasons
fix most "Don't make functions within a loop" jshint errors
Inline suppress two remaining "Don't make functions within a loop." errors
- we're doing this because it'll be a bit trickier to pass all the arguments easily