Clean up code in themizer.php