fixed js-beautify issues