working around CSS border for previews on 3.4; add scripts/common.sh