Change Checkbox Label Text

Change Checkbox Label Text

I am trying to change the label of a checkbox. The detail is I am detecting the browser screen size and making the label more descriptive if there is room to display. On small devices the label is trunctated.

The code that I tried.

$('#CheckboxTrackingLabel').html('Track');

The checkbox does not seem to display if the html of the label is changed in script. It switches to just a label if the code is called. What do I need to do to get it to remake the checkbox after the label text is changed?