Getting info out of remix.js to the trigger