code: function(str){
          var versionArray = str.split(",");//replace with regex
          return {
              "raw":str,
              "major":parseInt(versionArray[0].split(" ")[1], 10),
              "minor":parseInt(versionArray[1], 10),
              "revision":parseInt(versionArray[2], 10),
              "revisionStr":versionArray[2]
          };
      }
docs: Parse an ActiveX $version string into an object.
  
  @param {String} str The ActiveX Object GetVariable($version) return value.
  @return An object having raw, major, minor, revision and revisionStr attributes.
  @type Object