Use jQuery's `html()` instead.
Remove unused variables.