changed references.js to contain a JSON object, so it can come over via AJAX instead of requesting a file that just has objects inside of it