Using App Connect with JavaScript Functions

@JonL, will patrick's suggestion help from this thread?