CPU Load function and attempt of ajax