Adding client side docs for javascript sdk

Documenting this features: https://github.com/spark/sparkjs/pull/17