Fix the JS paths