[TASK] Remove special JavaScript handling for ajax.php