mapscaling on Js is slightly different