How to parse link header from github API How to parse link header from github API javascript javascript