js play pause by click and contact fix for iPad