Adds checks so incompatible JS won't load in old IEs.