Uncaught TypeError analysis