bigfix for auto reload when photo queue done and change set cookie from js ==> py