restructure css & js