Simplify handling of version (no ajax call is required)