component function is executed as soon as the comp is created
AJax