When I see this error on a dashboard and I open up the console, I also see an error in the console. I believe, but can't prove, that AWS deployed some bad javascript which is throwing an exception.
I have read elsewhere that it can be a permissions issue, but if it was, "...working with the same code earlier...", I assume that permissions aren't the problem.