Fixed up index and added js