Add preview for b2g viewer.