quick javascript fix for chatlogs in heroku