workaround js-beautify bug