home.js and datafactory.js