Remove setVersion related code since it seems impossible to get it working in newer browsers.