[javascript] ReferenceError: fetch is not defined