Logger facade for Javascript