Splitted main.js + Chat-design implemen.