move config/demo to  template dir
bugfix source map for inline js code
document for config and tag