Backwards-compatible upgrade to make the extension work for both the new version of Trello (currently in Beta, rolled out to 1% of users) and to continue working for the current stable version. Everything that I thought to test appears to be working fine with this commit.  Testing was only done in Chrome so far.