continuous binding and used .replaceWith() instead of .html()