add graceful degradation for older browsers.