fix casing of JavaScript properties from RestApi in JavaScript files W.I.P. #1294 name

fix casing of JavaScript properties from RestApi in JavaScript files W.I.P. #1294 name