cpserver.js: handle errors correctly on checkplot load
cpserver.js: handle errors correctly on checkplot load

lgbouma/astrobase,lgbouma/astrobase,lgbouma/astrobase,waqasbhatti/astrobase,waqasbhatti/astrobase,waqasbhatti/astrobase