Converted add address from device page to use AJAX