If you really prefer the old chatbox instead of this one, you can install a .js script from userscripts.org. Just click the link below and click Install. Just visit the page occasionally for occasional script updates, since Facebook is updating their code every now and then.
Credits to Enzyme for this awesome script. :)
If you find this post helpful, share it with your friends by clicking the Facebook like button below. Thanks.