Upgrade iframeResizer to 2.6.2
Init imageResizer outside of function ($)

function ($) is sometimes not triggered in a XBlock
Remove iframeResizer.min.js map