Updated interface.js file - JSON data created by api.rb controller can now be viewed in console log