replaced static idsite

Inside the JavaScript block, a static idsite was used. Changed this to the php-var