Move detailed trace infomation from javascript to HTML