As far as I know, Scriptable doesn’t support node.js, so I’m not sure how Forge would help here unless you can run it through something like Browserify first?
I would suggest first trying the solution suggested when this question was posted previously.