fix preview button style
Merge branch 'preview-via-js' into build-210