class sample js