Added snippets for jQuery.map and jQuery.each

Adding snippets for the jQuery utilties $.map and $.each .