Fixed lambda formatting
Instantiate XMLHttpRequest only one (as property)