updating JS path