Add js completion in the index.