Using query .text() to setup the text instead of raw DOM manipulation since it seems the latter was not working on Firefox.
Merge pull request #973 from nicolasgarnier/fix-version-calculation-on-ff

Fixing version calculation on Firefox