Remove ternjs
Make js-beautify a proper dependency