Update index to share common js and css files