refactoring import css + js