The script should query the GitHub API for the latest release, generate the appropriate json object, including SHA1 hashes, filenames and file sizes for the windows assets, and write this into RELEASES.json. It should be written in NodeJS, so it can reuse existing logic for working with Release objects