style, some js function