generate the More Resources navigation using JS