JavaScript Tracking code problem

I’ve modify the JavaScript Tracking code in my footer file.
The pkBaseURL var was http://localhost/piwik/
I changed it width http://hostname/piwik/

http://hostname/piwik/ is more correct for me, but in Log visitors I see two line for one visit. When there was http://localhost/piwik/ it worked fine.

What I wrong ?

Ps. my JavaScript Tracking code

The problem is solved.
I don’t see

in my code. I’ve delete it and all worked fine.