fix toastr test and add jsdoc documentation
Merge pull request #341 from nestalk/master

Fix toastr test and add jsdoc comments