Added snippets for jquery.map and jquery.each

.map and .each have parameters in reverse order, so I'm always having to look them up... thought this would help.

This is my first pull request ever, apologies if I did anything wrong...