Add config file and JS demo.