whenever i'm running the code i'm getting an error that  and when i reload JS I'm getting again  Any help will be appreciated.