idiomatic.js formatting