Trialling more javascript API integration