Converted returned ajax data to JSON syntaxed object

In the `success` function for Badges Ajax I added variable (`dObj`) that converts the data from text to an object.
I then did a find/replace all `data` calls with `dObj`. This is because the badges were not showing up and the dot selector calls were `undefined`, e.g. `data.badges.length` is now `dObj.badges.length`.