refator css and js