Lose some trace and some uneeded JS