Use html() instead of text() to add the labels

- Changed the insertion of the label to use html() instead so html code can also be used (for example, Font Awesome icons).