javascript and canvas are required