Ajax Tabs Assignment (object-oriented this time)

Turned the jQuery soup into an object with methods. Prevents callback hell, keeps things a bit more organized.