jQuery: now with valid ajaxComplete test

Also with corrected jquerymobile attr test