js refactor, css cross in css3