Detect mobile swype in JavaScript