Updates index to include all the js files