Added an optional preventDefault for links.