Preventing jsBeautifier adding unwanted line breaks by setting breakChainedMethods: false in grunt options.