starting preview.js