Using onAdd adds "undefined" to the pillbox issue #676
Merge pull request #688 from dwaltz/3.1.0-wip

Using onAdd adds "undefined" to the pillbox issue #676