app.js: Formalize version comparison.