Initialize scripts variable prior to appending on frontend/php/operator.php.