only show javascript exceptions if it's a frontend app