now using standard browser console if there is no '#log-console' in the current document