moved index.js to the src/js directory