citation box javascript