Separate styles and javascripts from widget