JS refactoring, Facebook now initialized with jQuery, friends & location printed to console