Minor whitespace change
Comment cleanup
Minor formatting change
Comment cleanup
Comment cleanup
Organize using late binding

Reducing use of nested functions by using Function.prototype.bind