Remove legacy UJS code