HTML/Javascript aircontrol remote implementation