set application name with ajax call