conformant with https://github.com/ecomfe/spec/blob/master/javascript-code-style.md