preview component with preview/append.js script