That's all a bit messy. Using the name of the provider to remove pre-registered once is not a good idea. As a "throwaway fix" I'm going to implement the last option and check for "JSLint" and remove it before registering a new provider for JavaScript.