[web] update firmware-list to use PDO and more logical code