converted netflix.js to funcjs arch