Comment on "Application of Hamilton's Law of Varying Action"