JS link to index fix