Give functions local names (this fixes two JSHint W082 warnings).
Use jQuery.parseJSON() instead of eval() to parse json.

This fixes JSHint warning W061.
Update CHANGES.rst.
Merge pull request #372 from warpr/jshint-fixes

JSHint fixes