Update js routes