does the error appear, then disappear, or just appear and stay there?
If it appears and stays there then check your Browser, Developer Tools, Console window for the error.
If it appears and disappears then this is "by design" behaviour that checks for javascript errors. You can disable the test (when deploying) using the template setting on the Performance tab.
cheers
Bruce