SynopsiApi JS wrapper first draft.