log from javascript to watchdog