try catch on js