Weinre does not change when I follow or open a new url

implemented for weinre
small code refactoring
incorrect detection of already injected weinre url fixed