fixing JS paths