fixed firefox compatibility issues with event handling and Chrome bug with add collection count to label
urls should not be encoding when doing url comparisons