Pipe js-beautify output from STDOUT directly into the buffer, replacing its contents. This should improve performance by avoiding writing tmp files.

Fix the "jumping" sensation caused by the point vertically-recentering whenever the buffer is replaced. (The value of window-start is restored post-beautification.)

Minor refactoring of unexposed variable names and string grammar to improve code quality.