Javascript Invoice Application