Since Scroll Viewport 2.14.1 we changed the resource import for $page.resources.js. The resource import doesn't require the JS files for the Editor by default anymore since in most use-cases it is unnecessary.

Anyway the macro Confluence Team Calendars requires the resources of the Editor to display the calendar.
To render the macro in a viewport you would need to do the following:

In your HTML head paste in the following meta-tag to require the full JS package of Confluence:

<meta name="ajs-vprt-preserve-editor-loader">
XML