The javascript .prototype guide I would have wanted