Fixing JS paths