i got it working but the port of my duktape code isn't done yet.
also restructure the code so the js file has an update and start function that gets called.