changed path in js