some more unimportant bbcode and css fixes.

removed two functions which were the same in bbcode.js
added word wrapping to chat.css
spoilers finally now work for chat logs.