Fixes #81. Beautify on Save now retains `this` scope when beautifying

Bug created when developing issue #56.