Modify ad widget plugin

Add before and after html