Reduce codes for old Firefox