make deploy: checkout before pull
jshint: __dirname global
template: trim values
CURRENT_YEAR
moved some more code to sections