create friends.js