For, in the first place, even the principle which I have already taken as a rule, viz., that all the things which we clearly and distinctly conceive are true, is certain only because God is or exists, and because he is a Perfect Being, and because all that we possess is derived from him whence it follows that our ideas or notions, which to the extent of their clearness and distinctness are real, and proceed from God, must to that extent be true.
The code can be found by viewing source (the author mentions he left the source non-minified for easy review).