fixed download widget to be backwards compatible regarding selenium tests