MediaWiki:Chat.js

$(document).ready(function {    //Importing Chat Options    importScriptPage('MediaWiki:Chat.js/options.js', 'cod');    // Credit to Runescape Wiki    //Chat's topic. Remember to escape single quotes in the topic using \' to prevent this from breaking.    var chatTopic =    $(function  { $('#ChatHeader .public.wordmark').prepend('' + chatTopic + ' ') .find('a').attr('style', 'position:relative;text-decoration:underline;') })   $('#ChatHeader .public.wordmark div:not(:first-child)').remove    // END Chat topic    // Clear chat button    function addClearChatText {        if ($('.clearChatText').length <= 0) {            $('Clear all replies ').prependTo('.chattopic');        }    }    function clearChat {        $('.Chat li').remove    }    window.onload = addClearChatText });