update filesize in filelist on save via JS

when saving a file with the text editor filesize is now updated via JavaScript.

@icewind1991 @DeepDiver1975