Refactor cleanData to be called on html, replaceWith, empty, remove

Duck punch $.html, $.replaceWith, $.empty, $.remove and set counter
used to ensure jsviews cleanData only called as a result of these
methods.