autoformat with jsbeautify
only open files on drag