It took me a while to get the limitTemplate option to work. The code from the example worked but mine didn't. The difference is that i didn't have the emptyTemplate option defined.
I don't know if this is a bug or just needs to be mentioned in the docs.