verify-rackmap.js: Factor out some inner functions into top-level functions to allow reuse.
verify-rackmap.js: Factor out some inner functions into top-level functions to allow reuse.

openplans/fixcity,openplans/fixcity