I\'m using the module pattern, one of the things I want to do is dynamically include an external JavaScript file, execute the file, and then use the functions/variables in t
same as Sean's answer, but instead of creating a script tag, just evaluate it. this ensures that the code is actually ready to use.