avoid adding two or more script elements
Refactor structure.

Now injectMock.js is just a content script, not injected dynamically.