control led and servo (.js version)