refactor css and js file structures