Add simplify method to analyst/client.js