Page constructor is functional, and takes one argument that modifies html tag attributes. Also creates a jquery mobile attribute workaround for data-role. The AJAX call works, and returns expected response data. if/else statement handles user notification and potential retries.