reconstruct the procedure of producing cd download page and its html code in init

Hi,
I just reconstruct the procedure of producing cd download page and its html code in init, I removed useless code in init, made it and its html code smaller and easier to maintain and modify, hope you can merge this commit into the master branch, thanks!