refactor defercss js