Added content loading to index.js