fixed scaling on websocket client JS accelerometer