Scripts in footer
Removed $.onInterval
Modular Class-based JavaScript
Don't use interval, only using callbacks + better handling of pending ajax requests