Added version of require module unloading method based on the JSTestDriver version.