Exercises regarding node and javascript prototyping