Implement jQuery Mobile popups and unit tests.