cleaning up query syntax and and commenting in cats.js