adding content to index and fixing js links