function() tricks and prototyping 101

