fixing js path in index