cleans up handing over of variables between drupal and  the OWL carousel.