Add comments to the declare.js, and make the test sync to the comments