Comment out unused functions.
Reduce variable scope.
htdocs: update dependencies.
htdocs: minor tweaks.