reorganize css and javascript.