Updated JQM Implementation