Got a new detect.js from http://api.whichbrowser.net/dev/detect.js since the old one stopped being compatible with html5test despite last patch.
Changed the detect browser part in test.html to make it compatible with the new detect.js.