Added first JS code for the #logbox (not yet functional in any way)