Generating API doc for main.js with docco.