changed index.js to allow for backbone routing