Javascript OO practice from website informations.