added ajax call on correct regex