paths in js