Details, details. Many towns choose dates other than the Fourth, usually for convenience sake. Like choosing different dates for Halloween(!). Our town here in Connecticut chooses July 3.
Speaking of details - the Declaration of Independence wasn't even signed until August 1776, altho' it was approved by the Second Continental Congress on July 4.