fix travis build error on fix for #984

also re-do indentation on package.json