[Web support] Add init method to load JS SDK and create factory instance
#157
+99
−0
init method to load JS SDK and create factory instance
#157