Made ajax failure message a bit more helpful
fixed a context bug
Removed dataLoaded event dispatch and listeners in favor of passing a callback to the ajax function
Fixed lots of bugs/typos. Now the callback function runs when data have been loaded with ajax