example: adding class example in JS