feat(js): reorder link data