Thank you for your answer. I have disabled Java Script and the import takes only a few seconds!!!
Is there any way to make it more comfortable for the user?
Maybe. Next you need to make sure that turning off calculations will have the same affect. Run the code for turning off calcs from the console window. Make sure the import won't affect the calculation state, i.e. you don't have any other code somewhere that will turn calculations back on. including in the FDF.
If this works then the best way to control turning calcs on and off is to place the code into the before and after scripts in the FDF itself.
Otherwise you need a way to detect when the FDF is completely loaded.