[dist] Up-to-date linting with JSHint. Fixes #419.