refactor cdn js/css to local