The way I would debug this is to open Chrome dev tools and enable "Pause on exceptions" using the button circled here: http://image.prntscr.com/image/dcc65ace5dd146718a7c608619b6521d.png
Just refresh the page after enabling that option and Chrome will show you the stack trace of the error and allow you to look at the values.