Working implementation of the DSLink SDK in JavaScript.

This will be a fully working implementation of the DSLink SDK in JavaScript.

**Do not merge yet, please. Far from complete.**

Right now, I just submitted this as a pull request for the sake of feedback.