use VanillaJS and canvas