Adds ajax request in the extension