small fix, previous commit for ServerGlue did not consider difference between fat client and jsclient