Imporved module ajax functions