adds friends js file