checks: recurse into metadata as well
rough attempt at an indentation checker
fix some problems noticed by jshint