Fixed ckan-Preview

This enables the preview for ckan datasets.