Bug 853154 - Generate and root target JSScripts during MIR construction. r=h4writer, a=akeybl