results.js: make define compliant with scheme

With help from Simone.