JS/CSS split from HTML, messages come from bottom

JS/CSS Split into seperate files from HTML
New messages come from bottom (Can't scroll to messages above
window....something in CSS to fix)
Type in textWidth function name fixed.