compare.js: simplifying

See #3288
Status Job ID Name Coverage
  Test Tools
passed #117410
test_tools

00:00:04

 
  Test Quality
passed #117411
web
code_quality

00:00:11

 
  Test Unit
passed #117412
web
test_browser_unit

00:00:10

 
  Deploy Review
passed #117413
web
deploy_review

00:00:20

passed #117414
web allowed to fail manual
stop_deploy_review

00:00:10

 
  Test Functional
passed #117415
web
test_browser-functional

00:03:19

 
  Test Functional External
passed #117416
web
test_browser-functional-external

00:02:19