<script type="text/javascript">
if (typeof configInlineParams === "undefined" || !Array.isArray(configInlineParams)) configInlineParams = [];
configInlineParams.push(function() {
<?php echo implode(";\n", $js_array); ?>;
});
if (typeof configScriptLoaded !== "undefined" && configInlineParams) loadInlineConfig();
</script>