solve widget multiple style bug when page refresh 

when page refresh  multiple widget use js apply to css, it will make a style bug when page refresh