Add cdn support

by default, the output file will use cdn
The default cdn is at http://cdn.staticfile.org/