modified to properly use js-beautify.el