Use jquery width() instead of offsetWidth

Within an AngularJS environment there's no worry that we can't use the width() function, because even if JQuery is not used, it got jqLite.
The advantage in using width() over offsetWidth is that it excludes the horizontal padding in elements with CSS box-sizing: border-box, as it should, because the padding takes away from the actual width available for the text.