prepare index for javascript integration. No script yet