Move maintenance start to ajax call