remove link/heading from nonjs version