templates/base.html: add head_append template block
templates/list: use head_append to incude search.js, indent