SPC redone using jquery mobile