Update grep.js

Fix failing test