Breakthrough! successfully getting drawn digit as a JS variable. Next step is get it into python.