editor-version.js: Fixed broken latest stable version calculation.

The version calculation didn't work on my machine while testing, due to XHR headers not set on dartlang.org.