Add sample code for showing raw log informatin from javascript to ui