modified droneWebControls.js