Update index with some js resources