Moved index.js into the javascript folder among other things.