in class javascript basics