serial data and html started to work in one code