Include moved above jquery.tmpl.js as it requires MiniProfiler.jQuery defined in includes.js, and added id='mini-profiler' data-ids='' as the JavaScript looks for the attributes.