Move function stopped working because the block for the dynamic javascri...

...pts was removed