Align Schedule contents

Hi,

iknow this is not mobiscroll related but how do i align the Remove label to the end?

renderResource: function(resource) {
               var x = '<div style="font-size: 12px; color: grey">';
               if (resource.schedType === 'FCFS')
                  x += 'Maximum px = ' + resource.maxPatientCount;
               else
                  x += 'Duration = ' + resource.consultPerPatient + 'mins/px';
               x += '</div>';
                  
                
               return x + '<div>' + resource.name + '</div><br/>' + 
                      '<span style="color: red;text-decoraton: underline; cursor: pointer;" onClick="window.ajaxRequest(' +  config.id.replace('_id','') + ',&quot;remove_resource&quot;,[&quot;id=' + resource.id + '&quot;])">Remove</span';
            
            },