updating path for js