As many as 10,000 protesters from the Prosperous Justice Party shouted anti-American slogans outside the heavily guarded embassy in the Indonesian capital .