include view/preview.js