An online painter application built by pure javascript