api endpoint now responds with JSON data from Test table
removed api.js
readded api.js