ported ajax call to extension and ... it works