accidently removed where we log javascript errors