Changed stats.js to try JSON and not XML.

Need to figure out my requires.