made JavaScript SDK work with new v1.1 API
removed consoles and added tes
added test for +
Merge pull request #7 from stretchr/v1.1

made JavaScript SDK work with new v1.1 API