Added word-wrap:break-word to the chatbox

This prevents spam from creating a horizontal scrollbar.
Added basic map events script loading and preprocessing.

Execution is still pending.