We are developing Dashboard items for Jira Server using this tutorial Writing a dashboard item app.
Everything works fine in browsers other than Chrome.
In Chrome gadgets are failing to load intermittently every n page refreshes.
The error we are getting on UI:

And the error in console logs:
.Gadget.js?locale=en-GB:1121 Can not import amd Module dashboard-items/scenario-count-dashboard-item gadget with id '10314': No dashboard-items/scenario-count-dashboard-item Error: No dashboard-items/scenario-count-dashboard-item
at callDep (almond.js:171:19)
at req (almond.js:336:20)
at window.require (almond-noconflict-post.js:21:35)
at AG.Gadget.js?locale=en-GB:995:24
at Object.safeInvokeFunction (AG.Gadget.js?locale=en-GB:1115:24)
at Object.safeInit (AG.Gadget.js?locale=en-GB:1111:25)
at F.initializeAmdModule (AG.Gadget.js?locale=en-GB:994:34)
at F.init (AG.Gadget.js?locale=en-GB:987:26)
at AG.Gadget (AG.Gadget.js?locale=en-GB:1058:16)
at Object.addGadget (AG.LayoutManager.js?locale=en-GB:363:29)
s
Does anyone have similar issues in Chrome? Any help would be appreciated