updating path for js scripts