Little footer.
Changed for asynchronous request.
Changed code, better lisibility.