use ajax call to get app version