add baidu stats profiling js code to template