Added stats & merge to result.js (hpg-variant)