Set up index, js libraries