FictFact SDK for javascript