more js-y formatting

a suggestion for https://github.com/cfpb/mapusaurus/pull/69