Stream Friends and Javascript