Update categories.js.php