update index to use new js files