set up getDevices.php page to use knockout.js