Fixed 'onerror' bug

So I wrote some code in the stats function that handles the situation in which the station is off air, and I wanted to test it so I stopped the server and as a result, the stats page on the server went down (so the plugin will fail to connect). When I returned to the code I found that it's not working and it kept throwing <b>TypeError: Undefined is not a function</b>.

after some digging up in the code, I found that the callback for the onerror event of the ajax request , which is fired when the connection fails, calls <b>SHOUTCast.prototype.stats</b> in the end instead of calling the <b>_stats</b > method that holds the user defined stats function or the default function. and that's what caused the problem.

And here we are :smiley: