Update varDiff.js

possible fix for vardiff
as you can see you are using parseInt on a object not the key