Using Json.stringify instead of toString to correctly save the passed data to the database.
Rewrote JS for circles page. Using AngularJS now.
Rewrote JS for records page with AngularJS. Filters still to come.