js class prototype added