correct the JS path