register style and js updated