first pass at extracting version code from the minified javascript
still needs some work, but will get something working in the test builds for now...