converted github.js to funcjs arch