Fix requirejs task error ServerApi