[#13] Create a closure around the injected JavaScript.