Minor fixes and forgotten jquery.tmpl.min.js