uglify embed widget
Updated api with documentation