add widget styles and javascript