fixing broken jquery mobile integration