Add snippets to write JSDoc documentation

Added some of the often used [JSDoc tags](http://usejsdoc.org/).