Updating Index and JS