Fix a small bug for dynamic script loading

After loading a duplicated script. We're not able to load another bundle.
Add more comment.