post: two-way-define-javascript-functions