I cannot say is that is possible since I have not used it in scriptable cart but compare what happens if you use 1.0 and 2.0 versions of suitescript. Probably your best bet to achieve your goal is creating an extension/custom module based on the version of SCA you are using.