Create widget.min.css & change script order

Fix ready and done events