changed .done() to .exec() in the example script

.done() is deprecated in 0.10, it is replaced by .exec()
Merge pull request #684 from imsys/patch-1

changed .done() to .exec() in the example script