bug in makegrid.js: where_clause is undefined

Signed-off-by: Marc Delisle <marc@infomarc.info>