minify embed code for widget