JavaScript prototype.