Stardevelop Livehelp problem


Im running cs cart 2.2.4 an Im having an issue installing Stardevelop Livehelp.I go to add the code to the head an then I refresh my site an I get a 500 error an I was wondering what I am doing wrong?Here is the code:

<br />
<script type="text/JavaScript" src="/livehelp/scripts/jquery-latest.js"></script><br />
<script type="text/javascript"><br />
<!--<br />
    var LiveHelpSettings = {};<br />
    LiveHelpSettings.server = '';<br />
    LiveHelpSettings.embedded = true;<br />
    (function($) {<br />
	    // JavaScript<br />
	    LiveHelpSettings.server = LiveHelpSettings.server.replace(/[a-z][a-z0-9+\-.]*:\/\/|\/livehelp\/*(\/|[a-z0-9\-._~%!$&'()*+,;=:@\/]*(?![a-z0-9\-._~%!$&'()*+,;=:@]))|\/*$/g, '');<br />
	    var LiveHelp = document.createElement('script'); LiveHelp.type = 'text/javascript'; LiveHelp.async = true;<br />
	    LiveHelp.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + LiveHelpSettings.server + '/livehelp/scripts/jquery.livehelp.min.js';<br />
	    var s = document.getElementsByTagName('script')[0];<br />
	    s.parentNode.insertBefore(LiveHelp, s);<br />
    })(jQuery);<br />
--><br />
</script><br />

```<br />
<br />
I was wondering if there is something wrong with this code or am I susposed to add something before an after?<br />
<br />

Any help will do…Anyone?

We use Stardevelop too, but we do not post anything in the header. We put both portions of script right where we want the “livehelp” button to show up. It works great for us. We actually have this posted on several websites with CS because we have the multi site license.