I shaped two different RewriteRules for my page:
# Enable URL Rewriting RewriteEngine on # exclude followed stuff RewriteRule ^(js|img|css|favicon\\.ico|ima
I had the same problem, caused because I did some url rewriting, and the script was being loaded twice, due to the fact that i did not add this:
RewriteRule ^(js|img|css|favicon\.ico)/ - [L,QSA,S=2]
This will stop the script from being loaded twice; it solved my problem.