Replying to [comment:6 rwaldron]:
I've re-assessed this issue and I'm confident the issue is in fact non-existent.
Please reopen the ticket. Due to a simple oversight both of your test cases are missing an important piece which prevent the exceptions experienced in the original test case. The callback functions you use (
fetchLocationCallback) aren't globally defined in neither test case.
But that is crucial to reproduce the original issue.
http://jsfiddle.net/asCrS/11/ your reduced test case this time with callback function globally defined (2nd click triggers exception)
http://www.jsfiddle.net/jitter/8dLfY/ more verbose test case which uses "no wrap (head)" to make sure the function is globally available and not hidden in the jquery-ready-handler-scope. Here you can check conveniently check that
<script> tags really aren't removed from