fix reading js events, debug_mesg as variadic macro