Replaced RegExp. Set data-id to lowerCase and without white spaces.
Removed unused module (view/vehicle/rating-selector)
Added additional method to show rendered rating-selector view when the close button was clicked.
Reformated template.
Added method to hide rendered rating-view and show rating-details view that was selected.
Added additional html container (rating-details-container) where the rating details is rendered.
FAST FIX:
1. Fixed min-height of widget.
2. Fixed length of the style names.
Added additional gradeClass to the response.
Added dynamic CSS class to the letter grade for xs dimension.