added the jquery mobile and updated the deffered strategy in jquery