<script>
/**
 * @license
 * Copyright (c) 2015 MediaMath Inc. All rights reserved.
 * This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt

*/
(function (scope) {

	var _instances = new Set();

	function _addInstance(instance) {
		_instances.add(instance);
	}

	function _removeInstance(instance) {
		_instances.delete(instance);
	}

	function _resizeHandler() {
		_instances.forEach(_eachResize);
	}

	function _eachResize (instance) {
		if (instance.res