check for canvas support