workaround to prevent ie cache javascript api