The javascript client for the xcursi api