[JS] Add Link header support