fix category and js