Code Update

JSLinted lolapi.js
Refactored variable definitions to prevent JS hoisting
Removed dead console.log() methods
Moved various functions around in their proper order; methods were being called before they were defined
Removed comments. Code is self explanitory
Refactored code base; Easier to follow now
Removed '.call(this)' on the Main function literial because '(function () {}());' is the proper invoking syntax