fixing the local js path in the index