Add huaban style js function snippet