Serendip JavaScript SDK