https://github.com/bilalq/ClusterMock/blob/e739f047fc4787ee236b0d6ea28cd44f5e603975/app.js
line 40. 
![Screen Shot 2013-04-14 at 9 19 49 PM](https://f.cloud.github.com/assets/1095602/378865/9d2f0cce-a56a-11e2-804c-85aea8855a2c.png)
I thought this is the way. I copied your code from ClusterMock Version 1.0.