fixed exit code for slave down
js-beautified