js lint compliant, see travis #917