Now removing Javascript extensions when they are disabled. This lets them get loaded again.
Now checking if there is an extension URL and checking it before trying to open it.