A tutorial for ajax and nodejs interaction