Use Java 7 code in jQueryActiveConnectionsFinish()