Beautify js is a double-edged sword