Currently, if the same context is set twice in the contexts param of the script.addPreloadScript command, the required scripts is added twice to that context. I wonder if this is correct and expected behavior, or we should throw exception / ignore the duplicate?