modified js to match the new path