strip newline from sensor output on web