All near dirs passed to js via ajax.