this is a javascript class testing demo