js in the index