Update compare.js

Add verb to comments