JavaScript prototype chain: first commit