fixed missing parenthesis in crid.js