add data.js to store data from backend