Replaced GET requests for friends list and messages with JQuery getJSON
calls.