Update compare.js

Add a verb to comments