Port project_categ to v8