Removes unnecessary params in appendHtml

There is no reason to pass the object; it is accessible via `this`