demo work for my web and javascript class