Conditionally Loading jQuery in profiler template

Prevents 	unnecessary loading of jQuery.