Set a default width if width < 360 (arbitrary number) for detecting long messages

For some weird reason, chrome returns the width of $(".chat-area") as 10px whereas firefox returns it as null. Hence I cannot check if width is not defined. So I'm setting a width 360px if the width value returned is lower.