Fix extractVersion function.

Turns out you have to actually return variables that you want to be the result of a function.  Who knew?!?

This fixes Cesium on Safari 7 on OS X Mavericks, and probably other versions of Safari.