improve ajax get version attrs