I am using the following technique to load up Javascript dynamically:
var script = document.createElement(\"script\"); script.type = \"text/javascript\"; scr
One way would be to define a variable in the script you include and then check whether this variable is defined, or not.