changing jqm init to .on('pageinit',function(event){