Friend onClick Event

Started work on the onClick event for when someone clicks on a friend.
Can't seem to get it to work. Nothing happens when a friend is clicked.
Files are loaded correctly.
fixed event handler by using .on() method
changed base url to localhost
Fixed friend click event and added load animation
Merge pull request #2 from Ortix92/Nick

Nick