Bug 919638 - Followup: fix non-threadsafe builds. (r=me)
Bug 958797 - Give functions gotten from the Function constructor scripted function types. (r=jandem)