move js-beautify to deps
fix bug in working with enum