getting github to work via js