windows8. fixes version number parsing logic

it does not work now, could be tested by running the following in js console
before
'0.0.1'.match(/\.d/g).length
after
'0.0.1'.match(/\.\d/g).length