Small edits to index, js