Fix var name in diff.js