update dynjs addon scope from provided to compile