updated download to svg method with canvas support check and js function support checks