1st step to open JS API