changed paths in js