// Redefine, bugfix
// Below function definition belongs to bootstrap.js, we need to migrate this asap
function initModuleProperties() {
	// Grab the CMS properties and make them available for JS via (module's parent element).moduleProperties
	$(".module>script").each(function(){
		var json = $(this).html();
		if (!json.match(/^\s*\(\{/m)) {
			return true;
		}
		json = JSON.parse(json);
		this.parentNode.moduleProperties = json;
	});
}

