embedded spritz javascript sdk