Better escape bad values that cuase problems to SegmentIO API
Update documentation
Better handle auth for JS resource access