JSON data object inserted into resources/data.js and script added to index.html