Remove left spaces before passing HTML to jQuery

Passing mustache generated HTML with left spaces causes an error in jQuery.