Implement Shared Secret for JavaScript

Got it. I will remove. I added those before I did the "Buddy.init" stuff in Console so they aren't really needed anymore